From d1ab8f029560057dd17d853f2ffa4dd92780e23a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 2 May 2017 14:19:30 +0200 Subject: Cleanup testscript runner diagnostics --- build2/test/rule.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'build2/test/rule.cxx') diff --git a/build2/test/rule.cxx b/build2/test/rule.cxx index db4083e1..c9a1fb9b 100644 --- a/build2/test/rule.cxx +++ b/build2/test/rule.cxx @@ -377,8 +377,11 @@ namespace build2 { if (verb) { - const auto& tt (cast (t["test.target"])); - text << "test " << t << " with " << ts << " on " << tt; + diag_record dr (text); + dr << "test " << ts; + + if (!t.is_a ()) + dr << ' ' << t; } build2::test::script::script s (t, ts, wd); -- cgit