* lib/gas-defs.exp (run_dump_test): If the test expects an error,

fail the test if gas doesn't report an error.
This commit is contained in:
Nick Clifton 2008-09-05 11:19:13 +00:00
parent 1e8a024a6b
commit cbd3921c54
2 changed files with 9 additions and 0 deletions

View File

@ -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.

View File

@ -690,6 +690,10 @@ proc run_dump_test { name {extra_options {}} } {
return
}
}
} else {
if { $opts(error) != "" || $opts(error-output) != "" } {
fail $testname
}
}
if { $program == "" } {