s4:buildtools: make it possible to use advanced test options via the make waf wrapper
authorStefan Metzmacher <metze@samba.org>
Sat, 10 Jul 2010 07:10:52 +0000 (09:10 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 10 Jul 2010 07:35:00 +0000 (09:35 +0200)
You can to do thinks like this now:
make test TEST_OPTIONS="--valgrind-server" TESTS=wbinfo

metze

buildtools/scripts/Makefile.waf

index 045d2410e20d71e101a1f7ed33c6b8e5ccb737c8..8de7f217bdb05f81549c094b45c41e820172c99e 100644 (file)
@@ -12,13 +12,13 @@ uninstall:
        $(WAF) uninstall
 
 test:
-       $(WAF) test
+       $(WAF) test $(TEST_OPTIONS)
 
 testenv:
-       $(WAF) test --testenv
+       $(WAF) test --testenv $(TEST_OPTIONS)
 
 quicktest:
-       $(WAF) test --quick
+       $(WAF) test --quick $(TEST_OPTIONS)
 
 dist:
        $(WAF) dist