about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJohn Keeping2014-01-12 19:46:42 +0000
committerJason A. Donenfeld2014-01-12 23:03:54 +0100
commita52aaa90dab1d95f9df383d2cb3f7c428ab849fe (patch)
tree8676c7cfd5145486a8b9d249e99cb6bbb24ccc3c /tests
parentui-repolist: HTML-escape cgit_rooturl() response (diff)
downloadcgit-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>
Diffstat (limited to 'tests')
-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