Fail run_dump_test when an error is expected but not seen
* testsuite/lib/binutils-common.exp: Whitespace fixes throughout. (run_dump_test): Fail if expecting errors from a file like we do for error strings, if no error is seen.
This commit is contained in:
parent
c3bf9dc5aa
commit
4d496013a2
@ -1,3 +1,9 @@
|
||||
2021-02-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
|
||||
(run_dump_test): Fail if expecting errors from a file like we do
|
||||
for error strings, if no error is seen.
|
||||
|
||||
2021-02-19 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
|
||||
|
@ -1438,7 +1438,7 @@ proc run_dump_test { name {extra_options {}} } {
|
||||
}
|
||||
|
||||
# We must not have expected failure if we get here.
|
||||
if { $opts(error) != "" } {
|
||||
if { $want_out(terminal) } {
|
||||
fail $testname
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user