diff options
author | Nick Clifton <nickc@redhat.com> | 2008-09-05 11:19:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-09-05 11:19:13 +0000 |
commit | cbd3921c54710f8b992c523d6fdeb19e37129802 (patch) | |
tree | d6783b787e37987839e26f5faae13aeaba2bc778 | |
parent | 1e8a024a6bf73f5922d00bec4df78e90484eb8cf (diff) | |
download | gdb-cbd3921c54710f8b992c523d6fdeb19e37129802.zip gdb-cbd3921c54710f8b992c523d6fdeb19e37129802.tar.gz gdb-cbd3921c54710f8b992c523d6fdeb19e37129802.tar.bz2 |
* lib/gas-defs.exp (run_dump_test): If the test expects an error,
fail the test if gas doesn't report an error.
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/lib/gas-defs.exp | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 115944b..f023ba9 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2008-09-04 Christian Groessler <chris@groessler.org> + + * lib/gas-defs.exp (run_dump_test): If the test expects an error, + fail the test if gas doesn't report an error. + 2008-08-28 Jan Beulich <jbeulich@novell.com> * gas/i386/intel.s: Add retf. 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 == "" } { |