From 7d20faf81e2afdcb3d9d07963478c8e0606470a0 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Tue, 31 Jul 2001 15:55:24 +0000 Subject: [PATCH] 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 --- src/scons/JobTests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(): -- 2.26.2