aboutsummaryrefslogtreecommitdiff
path: root/build2/test/rule.cxx
diff options
context:
space:
mode:
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);