From 84dd05fe654eadd755d25932fcd76d1254dc8865 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 6 Mar 2017 19:22:04 +0300 Subject: Print unexpected or regex non-matching test command stdout/stderr --- build2/test/script/runner.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'build2/test') diff --git a/build2/test/script/runner.cxx b/build2/test/script/runner.cxx index 68a8d32..5991546 100644 --- a/build2/test/script/runner.cxx +++ b/build2/test/script/runner.cxx @@ -229,6 +229,10 @@ namespace build2 info << what << ": " << op; input_info (d); + + // Print cached output. + // + print_file (d, op, ll); } // Fall through (to return false). @@ -615,6 +619,10 @@ namespace build2 output_info (d, op); output_info (d, rp, "", " regex"); input_info (d); + + // Print cached output. + // + print_file (d, op, ll); } // Fall through (to return false). -- cgit v1.1