[Zope-CVS] CVS: Packages/Zope2+3 - test.py:1.4
Jeremy Hylton
jeremy at zope.com
Thu Mar 18 14:28:18 EST 2004
Update of /cvs-repository/Packages/Zope2+3
In directory cvs.zope.org:/tmp/cvs-serv18592
Modified Files:
test.py
Log Message:
Make the build flag work.
=== Packages/Zope2+3/test.py 1.3 => 1.4 ===
--- Packages/Zope2+3/test.py:1.3 Tue Mar 16 00:20:58 2004
+++ Packages/Zope2+3/test.py Thu Mar 18 14:28:17 2004
@@ -880,20 +880,16 @@
gc.set_debug(gcdebug)
if build:
- # Python 2.3 is more sane in its non -q output
- if sys.hexversion >= 0x02030000:
- qflag = ""
- else:
- qflag = "-q"
- cmd = sys.executable + " setup.py " + qflag + " build"
- if build_inplace:
- cmd += "_ext -i"
- if VERBOSE:
- print cmd
- sts = os.system(cmd)
- if sts:
- print "Build failed", hex(sts)
- sys.exit(1)
+ for ver in "2", "3":
+ cmd = sys.executable + " setup%s.py " % ver + " build"
+ if build_inplace:
+ cmd += "_ext -i"
+ if VERBOSE:
+ print cmd
+ sts = os.system(cmd)
+ if sts:
+ print "Build failed", hex(sts)
+ sys.exit(1)
if kinds == "unit":
k = [False]
More information about the Zope-CVS
mailing list