diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-06 19:22:04 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-15 19:52:39 +0300 |
commit | 84dd05fe654eadd755d25932fcd76d1254dc8865 (patch) | |
tree | b2d62fe60dc14b034a1dd9f0ba2292bbe3ed7acd /build2/test | |
parent | 430e46f7e352b1146f289e82f614d0b68c75aab5 (diff) |
Print unexpected or regex non-matching test command stdout/stderr
Diffstat (limited to 'build2/test')
-rw-r--r-- | build2/test/script/runner.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
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). |