This commit is contained in:
Kartik K. Agaram 2015-04-24 21:37:36 -07:00
parent e26a1c8593
commit fb4836dc0f
4 changed files with 7 additions and 0 deletions

View File

@ -113,5 +113,9 @@ void setup() {
// End Setup
}
void teardown() {
// End Teardown
}
//: Without directives or with the :(code) directive, lines get added at the
//: end.

View File

@ -72,6 +72,7 @@ void run_test(size_t i) {
Passed = true;
// End Test Setup
(*Tests[i])();
teardown();
if (Passed) cerr << ".";
}

View File

@ -110,6 +110,7 @@ if (!Run_tests) {
//? Trace_stream->dump_layer = "all"; //? 1
if (r) run(r);
dump_memory();
teardown();
}
:(code)

View File

@ -43,6 +43,7 @@ void run_mu_test(size_t i) {
}
}
// End Scenario Checks
teardown();
if (Passed) cerr << ".";
}