diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-09 10:33:59 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-09 10:33:59 +0200 |
commit | ac838a3c051e8f15514f0454b060d00695b372f7 (patch) | |
tree | 368cbd8f885c25f5e5fc4c5f914434ef2839fa8e /build2/utility.cxx | |
parent | 79a760af92146a63e337c4399ec57134f56d8886 (diff) |
Add dry-run support to test rules
Diffstat (limited to 'build2/utility.cxx')
-rw-r--r-- | build2/utility.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build2/utility.cxx b/build2/utility.cxx index af34175..91aecdf 100644 --- a/build2/utility.cxx +++ b/build2/utility.cxx @@ -173,6 +173,15 @@ namespace build2 fail (l) << "unable to execute " << f << ": " << e << endf; } + process_path + try_run_search (const path& f, + bool init, + const dir_path& fallback, + bool path_only) + { + return process::try_path_search (f, init, fallback, path_only); + } + process run_start (uint16_t verbosity, const process_env& pe, |