[PATCH] mark libstdc++ tests unsupported if they fail with "relocation truncated"
Szabolcs Nagy
szabolcs.nagy@arm.com
Tue Oct 13 09:12:00 GMT 2015
Dejagnu tweak:
Check the compiler output in libstdc++-dg-test using
${tool}_check_unsupported_p and mark the output
unsupported accordingly to avoid "relocation truncated"
failures cluttering the test results on aarch64-none-elf
with -mcmodel=tiny. (gcc torture tests already use this
predicate for this reason.)
This is a revision of
https://gcc.gnu.org/ml/libstdc++/2015-01/msg00198.html
which had problems because the unsupported result was
propagated to and handled by dg-runtest differently
than expected.
Is it OK?
libstdc++-v3/Changelog:
2015-10-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
* testsuite/lib/libstdc++.exp (libstdc++-dg-test): Check for
unsupported compiler output.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reloc_trunc_dg.diff
Type: text/x-patch
Size: 688 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20151013/fe27bca6/attachment.bin>
More information about the Libstdc++
mailing list