diff Makefile @ 3969:edaf68032a27

add possibility to pass flags when testing with the Makefile
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 26 Dec 2006 03:11:37 +0100
parents 9d7ac8613340
children
line wrap: on
line diff
--- 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 \