diff options
author | Jacob Bachmeyer <jcb62281@gmail.com> | 2019-01-10 21:45:12 +1100 |
---|---|---|
committer | Ben Elliston <bje@gnu.org> | 2019-01-10 21:45:12 +1100 |
commit | e70fd889a7ae2ae3689c3cd84136dd2ddbd25cc9 (patch) | |
tree | 45e065a3195d342f071b39f33300fa9e3c6a3452 /lib | |
parent | bf6c9fa6841740f11704ff244331a06f4f5857b8 (diff) |
* testsuite/runtest.libs/clone_output.test: Use new test harness
for verifying output of clone_output.
* testsuite/runtest.libs/default_procs.tcl (send_error): Roll into
template using store_test_output.
(send_log): Likewise.
(send_user): Likewise.
(clear_test_output): New proc.
(store_test_output): New proc.
* lib/framework.exp (clone_output): Actually send errors to the
error stream; bug found while improving testsuite.
Signed-off-by: Ben Elliston <bje@gnu.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/framework.exp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/framework.exp b/lib/framework.exp index f48d3f5..00aa716 100644 --- a/lib/framework.exp +++ b/lib/framework.exp @@ -307,7 +307,9 @@ proc clone_output { message } { send_log -- "$message\n" } } - {"ERROR:" "WARNING:" "NOTE:"} { + "ERROR:" - + "WARNING:" - + "NOTE:" { send_error -- "$message\n" return $message } |