diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-02 14:19:30 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-05-02 16:09:47 +0300 |
commit | d1ab8f029560057dd17d853f2ffa4dd92780e23a (patch) | |
tree | 779c8e4cf9e1baeb9fb832eac1dd8b5a0b541c65 /build2/test/rule.cxx | |
parent | 2017c59a4a68a179e0eadc0183f0138e7964835e (diff) |
Cleanup testscript runner diagnostics
Diffstat (limited to 'build2/test/rule.cxx')
-rw-r--r-- | build2/test/rule.cxx | 7 |
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); |