diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-10-17 16:43:29 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:25 +0200 |
commit | 4098cdddbb3ef9830b70b3ad2f1e0610a95d9aa0 (patch) | |
tree | 80dcc963e206d375845e1a1ac8a870d84a75a7f2 /build2/test/rule.cxx | |
parent | 8187642ed2b619fc6dc6844f80d107c338c428a3 (diff) |
Fix few bugs in testscript parser
Diffstat (limited to 'build2/test/rule.cxx')
-rw-r--r-- | build2/test/rule.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx index 8621422..29d5925 100644 --- a/build2/test/rule.cxx +++ b/build2/test/rule.cxx @@ -366,7 +366,8 @@ namespace build2 const path& sp (st->path ()); assert (!sp.empty ()); // Should have been assigned by update. - text << "test " << t << " with " << *st; + if (verb) + text << "test " << t << " with " << *st; try { @@ -504,7 +505,7 @@ namespace build2 dpp = run_search (dp, true); args.push_back (dpp.recall_string ()); - args.push_back ("--strip-trailing-cr"); //@@ TMP: see module.cxx + args.push_back ("--strip-trailing-cr"); //@@ TMP: see init.cxx args.push_back ("-u"); args.push_back (ot.path ().string ().c_str ()); args.push_back ("-"); |