aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-16 13:02:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-16 13:02:10 +0200
commit8da6810950270a9fabd4e0d9c6ea6e214793d732 (patch)
tree48d8ae4157265c6b30fba4e2075a2d84ea53f5e8 /libbuild2/test
parent5338cd3b93972c60ac90d4c2c5a640071f92d091 (diff)
Try to find MSVC installation for absolute cl.exe paths
Without this extra logic recursive invocation of the build system (e.g., in tests) will fail to obtain the full environment.
Diffstat (limited to 'libbuild2/test')
-rw-r--r--libbuild2/test/rule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/test/rule.cxx b/libbuild2/test/rule.cxx
index c216e66..9187125 100644
--- a/libbuild2/test/rule.cxx
+++ b/libbuild2/test/rule.cxx
@@ -808,7 +808,7 @@ namespace build2
//
process_path pp (!ctx.dry_run
? run_search (p, true /* init */)
- : try_run_search (p, true));
+ : run_try_search (p, true));
args.push_back (pp.empty () ? p.string ().c_str () : pp.recall_string ());
// Do we have options and/or arguments?