From: stevenknight Date: Tue, 31 Jul 2001 15:55:24 +0000 (+0000) Subject: fix a bad test command and potential race condition X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7d20faf81e2afdcb3d9d07963478c8e0606470a0;p=scons.git fix a bad test command and potential race condition git-svn-id: http://scons.tigris.org/svn/scons/trunk@15 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/scons/JobTests.py b/src/scons/JobTests.py index c91ae6b8..2d9eff01 100644 --- a/src/scons/JobTests.py +++ b/src/scons/JobTests.py @@ -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():