[Zope-Checkins] CVS: Zope3 - test.py:1.1.2.2
Jeremy Hylton
jeremy@zope.com
Wed, 20 Feb 2002 18:19:28 -0500
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv12978
Modified Files:
Tag: Zope-3x-branch
test.py
Log Message:
Provide the right build command for -b option.
=== Zope3/test.py 1.1.2.1 => 1.1.2.2 ===
"""
-
import os
import re
import sys
@@ -89,7 +88,6 @@
self.stream.writeln(self.separator2)
self.stream.writeln(err)
-
class ImmediateTestRunner(unittest.TextTestRunner):
def _makeResult(self):
@@ -212,7 +210,6 @@
suite.debug()
return 0
r = runner.run(suite)
- return len(r.errors) + len(r.failures)
def main(module_filter, test_filter):
setup_path()
@@ -256,7 +253,7 @@
sys.exit(0)
if build:
- cmd = sys.executable + " setup.py -q build"
+ cmd = sys.executable + " stupid_build.py"
if VERBOSE:
print cmd
sts = os.system(cmd)