Commits

Anonymous committed 23448c1

fix a bad test command and potential race condition

  • Participants
  • Parent commits e2d7c0c

Comments (0)

Files changed (1)

File src/scons/JobTests.py

         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():