mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 00:18:41 +00:00
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>
This commit is contained in:
parent
1de6591159
commit
a52aaa90da
@ -5,7 +5,7 @@ T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
|
||||
all: $(T)
|
||||
|
||||
$(T):
|
||||
@./$@
|
||||
@./$@ $(CGIT_TEST_OPTS)
|
||||
|
||||
clean:
|
||||
$(RM) -rf trash
|
||||
|
Loading…
Reference in New Issue
Block a user