aboutsummaryrefslogtreecommitdiff
path: root/build2/utility.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-04-09 10:33:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-04-09 10:33:59 +0200
commitac838a3c051e8f15514f0454b060d00695b372f7 (patch)
tree368cbd8f885c25f5e5fc4c5f914434ef2839fa8e /build2/utility.hxx
parent79a760af92146a63e337c4399ec57134f56d8886 (diff)
Add dry-run support to test rules
Diffstat (limited to 'build2/utility.hxx')
-rw-r--r--build2/utility.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/build2/utility.hxx b/build2/utility.hxx
index fac1ca8..41020ac 100644
--- a/build2/utility.hxx
+++ b/build2/utility.hxx
@@ -167,6 +167,12 @@ namespace build2
bool path_only = false,
const location& = location ());
+ process_path
+ try_run_search (const path&,
+ bool init = false,
+ const dir_path& fallback = dir_path (),
+ bool path_only = false);
+
// Wait for process termination. Issue diagnostics and throw failed in case
// of abnormal termination. If the process has terminated normally but with
// a non-zero exit status, then, if error is true, assume the diagnostics