From a8a5e80d6c698f6f0e07ec58067466230b4bf447 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 10 Apr 2017 17:47:18 +0300 Subject: Adapt to process_error change --- build2/test/rule.cxx | 2 +- build2/test/script/runner.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'build2/test') diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx index bc90c1f..da6b2f3 100644 --- a/build2/test/rule.cxx +++ b/build2/test/rule.cxx @@ -614,7 +614,7 @@ namespace build2 { error << "unable to execute " << args[0] << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); diff --git a/build2/test/script/runner.cxx b/build2/test/script/runner.cxx index e969d5a..86cc145 100644 --- a/build2/test/script/runner.cxx +++ b/build2/test/script/runner.cxx @@ -356,7 +356,7 @@ namespace build2 { error (ll) << "unable to execute " << pp << ": " << e; - if (e.child ()) + if (e.child) exit (1); throw failed (); @@ -1494,7 +1494,7 @@ namespace build2 { error (ll) << "unable to execute " << args[0] << ": " << e; - if (e.child ()) + if (e.child) std::exit (1); throw failed (); -- cgit v1.1