diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-10-29 12:09:23 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-10-29 12:09:23 -0700 |
commit | cdd6fd09673faa6ed72d1b7f52333c12100df049 (patch) | |
tree | 1b6355df38822a1daaf4e91df65dce556097d9bc /050scenario.cc | |
parent | d9025124a102fb7b421699e4e0463a3c62b261cb (diff) | |
download | mu-cdd6fd09673faa6ed72d1b7f52333c12100df049.tar.gz |
2313
Diffstat (limited to '050scenario.cc')
-rw-r--r-- | 050scenario.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/050scenario.cc b/050scenario.cc index f74abadc..31398ab8 100644 --- a/050scenario.cc +++ b/050scenario.cc @@ -283,7 +283,7 @@ void check_memory(const string& s) { double value = 0; in >> value; if (locations_checked.find(address) != locations_checked.end()) raise_error << "duplicate expectation for location " << address << '\n' << end(); - trace(Primitive_recipe_depth, "run") << "checking location " << address << end(); + trace(9999, "run") << "checking location " << address << end(); if (Memory[address] != value) { if (Current_scenario && !Scenario_testing_scenario) { // genuine test in a mu file @@ -323,7 +323,7 @@ void check_type(const string& lhs, istream& in) { } void check_string(long long int address, const string& literal) { - trace(Primitive_recipe_depth, "run") << "checking string length at " << address << end(); + trace(9999, "run") << "checking string length at " << address << end(); if (Memory[address] != SIZE(literal)) { if (Current_scenario && !Scenario_testing_scenario) raise_error << "\nF - " << Current_scenario->name << ": expected location " << address << " to contain length " << SIZE(literal) << " of string [" << literal << "] but saw " << no_scientific(Memory[address]) << '\n' << end(); @@ -337,7 +337,7 @@ void check_string(long long int address, const string& literal) { } ++address; // now skip length for (long long int i = 0; i < SIZE(literal); ++i) { - trace(Primitive_recipe_depth, "run") << "checking location " << address+i << end(); + trace(9999, "run") << "checking location " << address+i << end(); if (Memory[address+i] != literal.at(i)) { if (Current_scenario && !Scenario_testing_scenario) { // genuine test in a mu file |