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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/050scenario.cc b/050scenario.cc
index ee6485a9..c1895689 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -116,7 +116,7 @@ void run_mu_scenario(const scenario& s) {
     setup();
   }
   run("recipe "+s.name+" [ " + s.to_run + " ]");
-  if (not_already_inside_test) {
+  if (not_already_inside_test && Trace_stream) {
     teardown();
     ofstream fout((Trace_dir+Trace_file).c_str());
     fout << Trace_stream->readable_contents("");