mirror of
https://git.zx2c4.com/cgit
synced 2024-11-25 09:58:41 +00:00
a52aaa90da
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>
14 lines
133 B
Makefile
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
|