diff options
| author | 2014-01-13 04:46:42 (JST) | |
|---|---|---|
| committer | 2014-01-13 07:03:54 (JST) | |
| commit | a52aaa90dab1d95f9df383d2cb3f7c428ab849fe (patch) | |
| tree | 8676c7cfd5145486a8b9d249e99cb6bbb24ccc3c | |
| parent | 1de6591159cfe2e0cb442d781c0a360e4928ccca (diff) | |
| download | cgit-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>
| -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 |
