This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
How to prune tests that are too large for a tiny memory model in libstdc++?
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 28 Nov 2014 11:32:46 +0000
- Subject: How to prune tests that are too large for a tiny memory model in libstdc++?
- Authentication-results: sourceware.org; auth=none
Hi all,
I'm seeing some relocation truncation failures in the libstdc++
testsuite where the test
is too large to fit into the memory model. In the gcc testsuite we mark
these tests as unsupported
using something like the below fragment in gcc-dg.exp
if { [regexp "(^|\n)\[^\n\]*: relocation truncated to fit" $text]
&& [check_effective_target_tiny] } {
return "::unsupported::memory full"
}
Where would I go about adding similar logic in the libstdc++ tesuite
.exp files?
I can't find similar pruning infrastructure there...
Thanks,
Kyrill