mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 15:18:37 +08:00
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:
@ -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>
|
2021-02-19 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
|
* 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.
|
# We must not have expected failure if we get here.
|
||||||
if { $opts(error) != "" } {
|
if { $want_out(terminal) } {
|
||||||
fail $testname
|
fail $testname
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user