aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2014-01-12 19:46:42 +0000
committerJason A. Donenfeld <Jason@zx2c4.com>2014-01-12 22:03:54 +0000
commita52aaa90dab1d95f9df383d2cb3f7c428ab849fe (patch)
tree8676c7cfd5145486a8b9d249e99cb6bbb24ccc3c
parent1de6591159cfe2e0cb442d781c0a360e4928ccca (diff)
downloadcgit-a52aaa90dab1d95f9df383d2cb3f7c428ab849fe.tar
cgit-a52aaa90dab1d95f9df383d2cb3f7c428ab849fe.tar.gz
cgit-a52aaa90dab1d95f9df383d2cb3f7c428ab849fe.zip
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>
-rw-r--r--tests/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 8c6c236..1556475 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -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