test.run(arguments = '-Q -j 4 .',
- stderr = expect_stderr)
+f4_error = "scons: *** [f4] Error 1\n"
+f5_error = "scons: *** [f5] Error 1\n"
+error_45 = f4_error + f5_error
+error_54 = f5_error + f4_error
+if test.stderr() not in [error_45, error_54]:
+ print "Did not find the following output in list of expected strings:"
# We jump through hoops above to try to make sure that the individual
# commands execute and exit in the order we want, but we still can't be