From 3b168e0076e632e873cf423d5296f47d45a2b341 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 14 May 2015 15:19:43 -0700 Subject: 1373 --- 072scenario_screen.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(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(Memory[screen_data_start+i]) << "'\n"; - Passed = false; + if (!Hide_warnings) { + Passed = false; + ++Num_failures; + } return; } } -- cgit 1.4.1-2-gfad0