* [PATCH] tests: add CGIT_TEST_OPTS variable to Makefile
@ 2014-01-12 19:46 john
2014-01-12 22:03 ` Jason
0 siblings, 1 reply; 2+ messages in thread
From: john @ 2014-01-12 19:46 UTC (permalink / raw)
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 at 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] tests: add CGIT_TEST_OPTS variable to Makefile
2014-01-12 19:46 [PATCH] tests: add CGIT_TEST_OPTS variable to Makefile john
@ 2014-01-12 22:03 ` Jason
0 siblings, 0 replies; 2+ messages in thread
From: Jason @ 2014-01-12 22:03 UTC (permalink / raw)
Seems fine. I'll apply it.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-12 22:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-12 19:46 [PATCH] tests: add CGIT_TEST_OPTS variable to Makefile john
2014-01-12 22:03 ` Jason
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).