diff options
author | John Keeping | 2014-01-12 19:46:42 +0000 |
---|---|---|
committer | Jason A. Donenfeld | 2014-01-12 23:03:54 +0100 |
commit | a52aaa90dab1d95f9df383d2cb3f7c428ab849fe (patch) | |
tree | 8676c7cfd5145486a8b9d249e99cb6bbb24ccc3c /tests/Makefile | |
parent | ui-repolist: HTML-escape cgit_rooturl() response (diff) | |
download | 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>
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 2 |
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) | |||
5 | all: $(T) | 5 | all: $(T) |
6 | 6 | ||
7 | $(T): | 7 | $(T): |
8 | @./$@ | 8 | @./$@ $(CGIT_TEST_OPTS) |
9 | 9 | ||
10 | clean: | 10 | clean: |
11 | $(RM) -rf trash | 11 | $(RM) -rf trash |