aboutsummaryrefslogtreecommitdiff
path: root/build2/test/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-02 14:19:30 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-02 16:09:47 +0300
commitd1ab8f029560057dd17d853f2ffa4dd92780e23a (patch)
tree779c8e4cf9e1baeb9fb832eac1dd8b5a0b541c65 /build2/test/rule.cxx
parent2017c59a4a68a179e0eadc0183f0138e7964835e (diff)
Cleanup testscript runner diagnostics
Diffstat (limited to 'build2/test/rule.cxx')
-rw-r--r--build2/test/rule.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx
index db4083e..c9a1fb9 100644
--- a/build2/test/rule.cxx
+++ b/build2/test/rule.cxx
@@ -377,8 +377,11 @@ namespace build2
{
if (verb)
{
- const auto& tt (cast<target_triplet> (t["test.target"]));
- text << "test " << t << " with " << ts << " on " << tt;
+ diag_record dr (text);
+ dr << "test " << ts;
+
+ if (!t.is_a<alias> ())
+ dr << ' ' << t;
}
build2::test::script::script s (t, ts, wd);