LD/testsuite: run_dump_test: Report UNSUPPORTED for excluded targets
authorMaciej W. Rozycki <macro@mips.com>
Mon, 9 Jul 2018 14:50:57 +0000 (15:50 +0100)
committerMaciej W. Rozycki <macro@mips.com>
Mon, 9 Jul 2018 14:50:57 +0000 (15:50 +0100)
commit8a8c916960b0e1b00a5d323fc478f4b4ef1072f5
tree1f14a172fd8409dcfbbcb0c0b15619acfbb51bf9
parent8f7fc65182f74dfa8e2aa9f81a1cdf786a3bdbe6
LD/testsuite: run_dump_test: Report UNSUPPORTED for excluded targets

Bring the LD implementation of `run_dump_test' in line with its binutils
and GAS counterparts and report the UNSUPPORTED status for tests the run
of which has been prevented by means of one or more of `target',
`alltargets' and `notarget' tags.  Define `skip', `anyskip' and `noskip'
tags, which do not report anything for tests that are not run.

The rationale behind this is that we want to have unsupported tests
reported to ensure that they have actually been attempted and have not
been accidentally suppressed.  Then tests which have target-specific
variants that cannot be expressed with a single .d file can make use of
the newly added tags to silently suppress the uninteresting variants.

ld/
* testsuite/lib/ld-lib.exp (run_dump_test): Call `unsupported'
if the target being tested has been excluded by means of one or
more of `target', `alltargets' and `notarget' tags.  Add support
for `skip', `anyskip' and `noskip' tags.
ld/ChangeLog
ld/testsuite/lib/ld-lib.exp
This page took 0.059069 seconds and 4 git commands to generate.