diff options
Diffstat (limited to '072scenario_screen.cc')
-rw-r--r-- | 072scenario_screen.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/072scenario_screen.cc b/072scenario_screen.cc index 06566b7d..d7e98f2f 100644 --- a/072scenario_screen.cc +++ b/072scenario_screen.cc @@ -125,7 +125,10 @@ void check_screen(const string& contents) { raise << "\nF - " << Current_scenario->name << ": expected screen location (" << i/screen_width << ", " << i%screen_width << ") to contain '" << expected_contents.at(i) << "' instead of '" << static_cast<char>(Memory[screen_data_start+i]) << "'\n"; else raise << "expected screen location (" << i/screen_width << ", " << i%screen_width << ") to contain '" << expected_contents.at(i) << "' instead of '" << static_cast<char>(Memory[screen_data_start+i]) << "'\n"; - Passed = false; + if (!Hide_warnings) { + Passed = false; + ++Num_failures; + } return; } } |