fix a bad test command and potential race condition
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 31 Jul 2001 15:55:24 +0000 (15:55 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 31 Jul 2001 15:55:24 +0000 (15:55 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@15 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/scons/JobTests.py

index c91ae6b8fa4bc553dc6570c8243866b01c9bf1d8..2d9eff0157c6d41b2233fabedd303ca7e089d13c 100644 (file)
@@ -193,9 +193,9 @@ class ParallelExceptionTestCase(unittest.TestCase):
         self.failIf(taskmaster.num_executed,
                     "a task was executed")
         self.failUnless(taskmaster.num_iterated >= 1,
-                    "exactly one task should have been iterated")
-        self.failUnless(taskmaster.num_failed == 1,
-                    "exactly one task should have failed") 
+                    "one or more task should have been iterated")
+        self.failUnless(taskmaster.num_failed >= 1,
+                    "one or more tasks should have failed") 
 
 
 def suite():