add possibility to pass flags when testing with the Makefile
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 26 Dec 2006 03:11:37 +0100
changeset 3969 edaf68032a27
parent 3968 033082ba1d1a
child 3970 fff8a5345eb0
add possibility to pass flags when testing with the Makefile
Makefile
--- a/Makefile	Tue Dec 26 00:40:28 2006 +0100
+++ b/Makefile	Tue Dec 26 03:11:37 2006 +0100
@@ -67,10 +67,10 @@
 	TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist
 
 tests:
-	cd tests && $(PYTHON) run-tests.py
+	cd tests && $(PYTHON) run-tests.py $(TESTFLAGS)
 
 test-%:
-	cd tests && $(PYTHON) run-tests.py $@
+	cd tests && $(PYTHON) run-tests.py $(TESTFLAGS) $@
 
 
 .PHONY: help all local build doc clean install install-bin install-doc \