selftest: Add basic sanity-check tests for nopython target
[sfrench/samba-autobuild/.git] / Makefile
index c13843d3a4b59b7e00a0acf84e2a6fe33b2aadb7..d456a410050a7fa6e6612ca9d0e6d7075785d9d2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
 # simple makefile wrapper to run waf
 
-PYTHON?=python3
 WAF_BINARY=$(PYTHON) ./buildtools/bin/waf
 WAF=PYTHONHASHSEED=1 WAF_MAKE=1 $(WAF_BINARY)
 
@@ -41,6 +40,9 @@ randomized-test:
 testlist:
        $(WAF) test --list $(TEST_OPTIONS)
 
+test-nopython:
+       $(WAF) test --no-subunit-filter --test-list=selftest/no-python-tests.txt $(TEST_OPTIONS)
+
 dist:
        touch .tmplock
        WAFLOCK=.tmplock $(WAF) dist