From a52aaa90dab1d95f9df383d2cb3f7c428ab849fe Mon Sep 17 00:00:00 2001 From: John Keeping Date: Sun, 12 Jan 2014 19:46:42 +0000 Subject: 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 --- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit 1.4.1-21-gabe81