From 26b4bdc8b3b1d1f2f4b4dae1e7d2b89c7e286b1b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 5 Dec 2017 01:09:19 -0800 Subject: 4138 --- 003trace.cc | 2 +- 029tools.cc | 2 +- 036refcount.cc | 4 ++-- 050scenario.cc | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/003trace.cc b/003trace.cc index e388b0f7..7a062b63 100644 --- a/003trace.cc +++ b/003trace.cc @@ -215,7 +215,7 @@ lease_tracer::lease_tracer() { Trace_stream = new trace_stream; } lease_tracer::~lease_tracer() { if (!Trace_stream) return; // in case tests close Trace_stream if (Save_trace) { - ofstream fout("last_trace"); + ofstream fout("last_run"); fout << Trace_stream->readable_contents(""); fout.close(); } diff --git a/029tools.cc b/029tools.cc index 249451cb..ca86b397 100644 --- a/029tools.cc +++ b/029tools.cc @@ -180,7 +180,7 @@ case _SAVE_TRACE: { :(before "End Primitive Recipe Implementations") case _SAVE_TRACE: { if (Save_trace) { - ofstream fout("last_trace"); + ofstream fout("last_run"); fout << Trace_stream->readable_contents(""); fout.close(); } diff --git a/036refcount.cc b/036refcount.cc index e04261bd..69c00d05 100644 --- a/036refcount.cc +++ b/036refcount.cc @@ -76,8 +76,8 @@ void decrement_refcount(int old_address, const type_tree* payload_type, int payl if (old_refcount < 0) { cerr << "Negative refcount!!! " << old_address << ' ' << old_refcount << '\n'; if (Trace_stream) { - cerr << "Saving trace to last_trace.\n"; - ofstream fout("last_trace"); + cerr << "Saving trace to last_run.\n"; + ofstream fout("last_run"); fout << Trace_stream->readable_contents(""); fout.close(); } diff --git a/050scenario.cc b/050scenario.cc index edc57573..b7d5b58b 100644 --- a/050scenario.cc +++ b/050scenario.cc @@ -230,7 +230,7 @@ void run_mu_scenario(const scenario& s) { Passed = false; if (not_already_inside_test && Trace_stream) { if (Save_trace) { - ofstream fout("last_trace"); + ofstream fout("last_run"); fout << Trace_stream->readable_contents(""); fout.close(); } -- cgit 1.4.1-2-gfad0 0156'/>
path: root/tests/unittests/test_cmd_presence.h
blob: 96668db2b6823fbff0e372091ce3aee12eecf99e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13