1
0
mirror of https://gitea.quitesimple.org/crtxcr/cgitsb synced 2024-11-23 21:02:07 +01:00
cgitsb/tests/Makefile
John Keeping a52aaa90da tests: add CGIT_TEST_OPTS variable to Makefile
This allows running the entire test suite with a set of command-line
options.  For example:

	make test CGIT_TEST_OPTS=--valgrind

Signed-off-by: John Keeping <john@keeping.me.uk>
2014-01-12 23:03:54 +01:00

14 lines
133 B
Makefile

T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
all: $(T)
$(T):
@./$@ $(CGIT_TEST_OPTS)
clean:
$(RM) -rf trash
.PHONY: $(T) clean