From: Ian Jackson Date: Thu, 29 Oct 2015 01:23:06 +0000 (+0000) Subject: Testing: Provide Makefile X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=commitdiff_plain;h=3cc0a947e3f03308a30aedb0a0ff1bbaae1e5d41 Testing: Provide Makefile Can be run with `make -C tests/'. Currently there is a bug with -j. Signed-off-by: Ian Jackson --- diff --git a/tests/Makefile b/tests/Makefile new file mode 100644 index 0000000..2d8bb47 --- /dev/null +++ b/tests/Makefile @@ -0,0 +1,12 @@ +# -*- make -*- +# +# Run `make check' (or just `make') in this directory, to run all the +# tests. Run `make check-TESTNAME' to run just one test. + +TESTS := $(basename $(shell echo *.at)) +CHECKS := $(addprefix check-,$(TESTS)) + +all check: $(CHECKS) + +check-%: %.at + @ set -e; cd ..; tests/autotest tests/$^