From 4098cdddbb3ef9830b70b3ad2f1e0610a95d9aa0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 17 Oct 2016 16:43:29 +0300 Subject: Fix few bugs in testscript parser --- build2/test/rule.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build2/test/rule.cxx') 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 ("-"); -- cgit v1.1