pidl/Python: stop processing if fail to create a PyObject from a C type
[metze/samba/wip.git] / Makefile
index 60d87aef516bff0740967f3111d7b5c6b18d6c09..c2de1df7b608c9e6c79ec52659f53ce4ee788867 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
 # simple makefile wrapper to run waf
 
-PYTHON?=python
 WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
-WAF=WAF_MAKE=1 $(WAF_BINARY)
+WAF=PYTHONHASHSEED=1 WAF_MAKE=1 $(WAF_BINARY)
 
 all:
        $(WAF) build
@@ -16,6 +15,9 @@ uninstall:
 test:
        $(WAF) test $(TEST_OPTIONS)
 
+perftest:
+       $(WAF) test --perf-test $(TEST_OPTIONS)
+
 help:
        @echo NOTE: to run extended waf options use $(WAF_BINARY) or modify your PATH
        $(WAF) --help
@@ -32,6 +34,12 @@ gdbtestenv:
 quicktest:
        $(WAF) test --quick $(TEST_OPTIONS)
 
+randomized-test:
+       $(WAF) test --random-order $(TEST_OPTIONS)
+
+testlist:
+       $(WAF) test --list $(TEST_OPTIONS)
+
 dist:
        touch .tmplock
        WAFLOCK=.tmplock $(WAF) dist