about summary refs log tree commit diff stats
path: root/050scenario.cc
diff options
context:
space:
mode:
Diffstat (limited to '050scenario.cc')
-rw-r--r--050scenario.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/050scenario.cc b/050scenario.cc
index 375da6cb..fb0a0114 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -217,7 +217,7 @@ void run_mu_scenario(const scenario& s) {
 //?   cerr << s.name << '\n';
   if (not_already_inside_test) {
     Trace_stream = new trace_stream;
-    setup();
+    reset();
   }
   vector<recipe_ordinal> tmp = load("recipe scenario_"+s.name+" [ "+s.to_run+" ]");
   mark_autogenerated(tmp.at(0));
@@ -229,7 +229,6 @@ void run_mu_scenario(const scenario& s) {
   if (!Hide_errors && trace_contains_errors() && !Scenario_testing_scenario)
     Passed = false;
   if (not_already_inside_test && Trace_stream) {
-    teardown();
     if (Save_trace) {
       ofstream fout("last_trace");
       fout << Trace_stream->readable_contents("");
@@ -330,7 +329,7 @@ def main [
 //: when we eventually build a compiler.
 
 //: 'run' is a purely lexical convenience to separate the code actually being
-//: tested from any setup or teardown
+//: tested from any setup
 
 :(scenario run)
 def main [