aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/lib/gas-defs.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/lib/gas-defs.exp')
-rw-r--r--gas/testsuite/lib/gas-defs.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/testsuite/lib/gas-defs.exp b/gas/testsuite/lib/gas-defs.exp
index af9f565..512dbaa 100644
--- a/gas/testsuite/lib/gas-defs.exp
+++ b/gas/testsuite/lib/gas-defs.exp
@@ -690,6 +690,10 @@ proc run_dump_test { name {extra_options {}} } {
return
}
}
+ } else {
+ if { $opts(error) != "" || $opts(error-output) != "" } {
+ fail $testname
+ }
}
if { $program == "" } {