about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-11-15 21:55:56 -0800
committerKartik K. Agaram <vc@akkartik.com>2016-11-15 22:22:11 -0800
commit4cec4143d3f35be3f4379e00cc4fea357ef2a349 (patch)
treec067f33b8193344993dd45d495be4e22951a1bc0 /020run.cc
parent293732951a2052dd079c253942922eab6c1a734d (diff)
downloadmu-4cec4143d3f35be3f4379e00cc4fea357ef2a349.tar.gz
3675
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/020run.cc b/020run.cc
index a6b6e4e0..ed594210 100644
--- a/020run.cc
+++ b/020run.cc
@@ -177,7 +177,7 @@ if (argc > 1) {
 transform_all();
 //? DUMP("");
 //? exit(0);
-if (Trace_errors) return 1;
+if (trace_contains_errors()) return 1;
 save_snapshots();
 
 //: Step 3: if we aren't running tests, locate a recipe called 'main' and
@@ -374,7 +374,7 @@ void run(const string& form) {
   vector<recipe_ordinal> tmp = load(form);
   transform_all();
   if (tmp.empty()) return;
-  if (trace_count("error") > 0) return;
+  if (trace_contains_errors()) return;
   // if a test defines main, it probably wants to start there regardless of
   // definition order
   if (contains_key(Recipe, get(Recipe_ordinal, "main")))