aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Bachmeyer <jcb@gnu.org>2022-12-20 21:55:44 -0600
committerJacob Bachmeyer <jcb@gnu.org>2022-12-20 21:55:44 -0600
commit4d829912f7104d6f96886c1e46c173e9e7478946 (patch)
tree7ef2ba3fa080a8df7c8e57f9fab005e5bf4a1759 /lib
parent61273e9de56672a7fd665a328c9804de6cff9432 (diff)
downloaddejagnu-4d829912f7104d6f96886c1e46c173e9e7478946.zip
dejagnu-4d829912f7104d6f96886c1e46c173e9e7478946.tar.gz
dejagnu-4d829912f7104d6f96886c1e46c173e9e7478946.tar.bz2
Add support for errors and warnings in the unit test protocol
Diffstat (limited to 'lib')
-rw-r--r--lib/dejagnu.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dejagnu.exp b/lib/dejagnu.exp
index 24b3c5f..be114f9 100644
--- a/lib/dejagnu.exp
+++ b/lib/dejagnu.exp
@@ -141,6 +141,8 @@ proc host_execute {args} {
UNTESTED { untested $output }
UNRESOLVED { unresolved $output }
UNSUPPORTED { unsupported $output }
+ WARNING { warning $output }
+ ERROR { perror $output }
END {
expect -re {.+} { exp_continue }
verbose "All done" 2