about summary refs log tree commit diff stats
path: root/072scheduler.cc
diff options
context:
space:
mode:
Diffstat (limited to '072scheduler.cc')
-rw-r--r--072scheduler.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/072scheduler.cc b/072scheduler.cc
index 38f62fa0..e027b9dc 100644
--- a/072scheduler.cc
+++ b/072scheduler.cc
@@ -545,15 +545,11 @@ if (Current_routine->limit >= 0) {
 }
 
 :(before "End Test Teardown")
-if (Passed && any_routines_with_error()) {
-  Passed = false;
+if (Passed && any_routines_with_error())
   raise << "some routines died with errors\n" << end();
-}
 :(before "End Mu Test Teardown")
-if (Passed && any_routines_with_error()) {
-  Passed = false;
+if (Passed && any_routines_with_error())
   raise << Current_scenario->name << ": some routines died with errors\n" << end();
-}
 
 :(code)
 bool any_routines_with_error() {