diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 7d22a09..d616b1e 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -16,4 +16,4 @@ jobs: - name: install dependencies run: sudo apt-get install emacs - name: make - run: make -C src/ + run: make -C src/ test diff --git a/src/create_makefile.sh b/src/create_makefile.sh index 7562bba..08fa2b5 100755 --- a/src/create_makefile.sh +++ b/src/create_makefile.sh @@ -67,6 +67,7 @@ test_%: test_%.c -I../munit/ ../munit/munit.c test_\$*.c -lqmckl -o test_\$* test: libqmckl.so \$(TESTS) + for i in \$(TESTS) ; do ./\$\$i ; done .PHONY: test EOF