aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorGravatar John Keeping <john@keeping.me.uk>2014-01-13 04:46:42 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2014-01-13 07:03:54 (JST)
commita52aaa90dab1d95f9df383d2cb3f7c428ab849fe (patch)
tree8676c7cfd5145486a8b9d249e99cb6bbb24ccc3c /tests/Makefile
parent1de6591159cfe2e0cb442d781c0a360e4928ccca (diff)
downloadcgit-a52aaa90dab1d95f9df383d2cb3f7c428ab849fe.zip
cgit-a52aaa90dab1d95f9df383d2cb3f7c428ab849fe.tar.gz
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>
Diffstat (limited to 'tests/Makefile')
-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)
5all: $(T) 5all: $(T)
6 6
7$(T): 7$(T):
8 @./$@ 8 @./$@ $(CGIT_TEST_OPTS)
9 9
10clean: 10clean:
11 $(RM) -rf trash 11 $(RM) -rf trash