[Zope3-checkins]
SVN: zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/runner.py
checkpoint: all tests pass but had to temporarily disable
unit-tests-first
Benji York
benji at zope.com
Fri Jul 4 10:35:17 EDT 2008
Log message for revision 88003:
checkpoint: all tests pass but had to temporarily disable unit-tests-first
functionality
Changed:
U zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/runner.py
-=-
Modified: zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/runner.py
===================================================================
--- zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/runner.py 2008-07-04 14:24:11 UTC (rev 88002)
+++ zope.testing/branches/benji-parallelize-subprocesses/src/zope/testing/testrunner/runner.py 2008-07-04 14:35:16 UTC (rev 88003)
@@ -209,7 +209,7 @@
should_resume = False
while layers_to_run:
- layer_name, layer, tests = layers_to_run.pop(0)
+ layer_name, layer, tests = layers_to_run[0]
for feature in self.features:
feature.layer_setup(layer)
try:
@@ -223,6 +223,7 @@
should_resume = True
break
+ layers_to_run.pop(0)
if self.options.processes > 1:
should_resume = True
break
@@ -642,10 +643,10 @@
if layer not in seen:
seen[layer] = 1
if layer in layers:
- if (name_from_layer(layer) ==
- 'zope.testing.testrunner.layer.UnitTests'):
- result.insert(0, layer)
- else:
+# if (name_from_layer(layer) ==
+# 'zope.testing.testrunner.layer.UnitTests'):
+# result.insert(0, layer)
+# else:
result.append(layer)
return result
More information about the Zope3-Checkins
mailing list