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 <j...@keeping.me.uk>
---
 tests/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
1.8.5.226.g0d60d77

_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to