diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d4247b8..d723130 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,6 +39,12 @@ jobs: tar -xf cache/gamecube-tools-1.0.2-1-linux.pkg.tar.xz opt/devkitpro/tools/bin/elf2dol --strip-components=4 sudo cp elf2dol /usr/local/bin/elf2dol tar -xf cache/ppc-mxml-2.11-2-any.pkg.tar.xz opt/devkitpro/portlibs --strip-components=1 + + - name: Run tests + run: | + cd test + sudo apt install libmxml-dev + make - name: Compile run: | diff --git a/test/Makefile b/test/Makefile index eb6205e..50b8405 100644 --- a/test/Makefile +++ b/test/Makefile @@ -55,6 +55,8 @@ LIB_DIRS := # Tests TEST := +MAKEFLAGS += k + ############################################################################### # Rule to make everything. PHONY += all @@ -85,7 +87,7 @@ PHONY += regression regression : $(addprefix test_, $(TEST)) test_% : $(TARGET) - $Q{ $(TARGET) $* && echo "Test $* passed"; } || echo "Test $* failed ($$?)" + $Q{ $(TARGET) $* && echo "Test $* passed"; } || { echo "Test $* failed ($$?)"; false; } ############################################################################### # Special build rules