]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Add noxfail option to run_dump_test
authorAlan Modra <amodra@gmail.com>
Thu, 10 Oct 2024 00:13:16 +0000 (10:43 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 16 Oct 2024 04:24:00 +0000 (14:54 +1030)
commitbc85bc665a95b84aba854653b4289a3b1c4fbf05
tree617a27830ced932e47636f80bcbc500e91eb74e6
parent76eab8f47a743bde86be410bce8fd8382eaea6c2
Add noxfail option to run_dump_test

The noxfail option is useful in situations like pr23658-1e which
fails on all microblaze ELF targets except microblaze-linux.  This was
possible to handle by writing a small proc and use that as an xfail
predicate, or painstakingly listing all microblaze ELF targets, but
this is simpler.  The patch also fixes some other FAILs and XPASSes of
the pr23658 tests.

binutils/
* testsuite/lib/binutils-common.exp (run_dump_test): Support
noxfail.
ld/
* testsuite/ld-elf/pr23658-1a.d: Don't xfail m68hc12.
* testsuite/ld-elf/pr23658-1e.d: Likewise.  xfail xstormy16
and correct microblaze xfails.
binutils/testsuite/lib/binutils-common.exp
ld/testsuite/ld-elf/pr23658-1a.d
ld/testsuite/ld-elf/pr23658-1e.d