This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
pruning in gcc/testsuite/lib/gcc.exp
- From: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- To: dje at google dot com, gcc at gcc dot gnu dot org
- Date: Mon, 1 Dec 2008 08:59:44 -0500
- Subject: pruning in gcc/testsuite/lib/gcc.exp
Doug,
Is there a reason why prune.exp is loaded in lib/gcc.exp and lib/g++.exp
but never actually used? I need to prune a linker warning with..
regsub -all "(^|\n)ld: warning: can't make compact unwind encoding from dwarf for \[^\n\]* in \[^\n\]*" $text "" text
on x86_64-apple-darwin10 to suppress false failures in dg-struct-layout-1
for gcc.dg and g++.dg. Elsewhere in the testsuite, I can suppress these
warnings easily by placing that line in lib/prune.exp. However it is
unclear how I should code this pruning into lib/g++.exp and lib/gcc.exp
so that the dg-struct-layout-1 false excessive error failures are
suppressed. Any advice would be appreciated.
Jack