[PATCH 0/2] testsuite: Support filtering targets by TCL procedure in `run_dump_test'
Maciej W. Rozycki
macro@mips.com
Thu Apr 12 13:21:00 GMT 2018
Hi,
Inspired by GCC's `dg-require-effective-target' and prompted by Simon's
recently submitted test case that fails on MIPS non-shared-library targets
(currently `mipsel-ps2-elf' and `mips64el-ps2-elf') here's a proposed
implementation of a test tag interpretation update, which lets one name a
TCL procedure to call in a .d file interpreted by `run_dump_test' with
tags so far only used to refer to target triplets.
This removes the need to wrap `run_dump_test' calls into an `if' block
whose only reason is to do a feature check, keeps the check within the
test case itself where tool options related to the check might be also
present making it all localised rather than scattered across files, and
ultimately lets one have the test reported as UNSUPPORTED automagically if
required (not currently supported by the LD version of `run_dump_test').
This mini patch series has the implementation across all the three of
binutils, GAS and LD test suites in 1/2 and a MIPS LD test suite update
with `[check_shared_lib_support]' added where appropriate in 2/2. See
individual changes for detailed descriptions.
Maciej
More information about the Binutils
mailing list