[Zope3-checkins] CVS: Zope3 - Makefile:1.24

Guido van Rossum guido@python.org
Thu, 24 Apr 2003 15:33:08 -0400


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv18532

Modified Files:
	Makefile 
Log Message:
Move "-p -v" to a new variable, TESTFLAGS, so it's easy to change
this.


=== Zope3/Makefile 1.23 => 1.24 ===
--- Zope3/Makefile:1.23	Wed Apr 23 13:47:19 2003
+++ Zope3/Makefile	Thu Apr 24 15:33:07 2003
@@ -1,5 +1,6 @@
 PYTHON=python2.2
-TESTOPTS=
+TESTFLAGS="-p -v"
+TESTOPTS=""
 
 # XXX What should the default be?
 all: inplace
@@ -12,16 +13,16 @@
 	$(PYTHON) setup.py -q build
 
 test_build: build
-	$(PYTHON) test.py -p -v $(TESTOPTS)
+	$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
 
 test_inplace: inplace
-	$(PYTHON) test.py -p -v $(TESTOPTS)
+	$(PYTHON) test.py $(TESTFLAGS) $(TESTOPTS)
 
 ftest_build: build
-	$(PYTHON) test.py -f -p -v $(TESTOPTS)
+	$(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
 
 ftest_inplace: inplace
-	$(PYTHON) test.py -f -p -v $(TESTOPTS)
+	$(PYTHON) test.py -f $(TESTFLAGS) $(TESTOPTS)
 
 # XXX What should the default be?
 test: test_inplace