[PATCH] gcc.dg/debug.exp only test debug-[12] on Dwarf targets
David Edelsohn
dje@watson.ibm.com
Mon May 12 02:52:00 GMT 2003
gcc.dg/debug/debug-[12].c fail at various levels of optimization
on non-Dwarf targets. The following patch skips those tests. Okay for
trunk?
Thanks, David
* debug/debug.exp: Skip debug-[12].c on non-Dwarf targets.
Index: debug.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/debug/debug.exp,v
retrieving revision 1.1
diff -c -p -r1.1 debug.exp
*** debug.exp 26 Jan 2002 02:38:57 -0000 1.1
--- debug.exp 12 May 2003 02:44:14 -0000
*************** foreach test [lsort [glob -nocomplain $s
*** 66,72 ****
&& [string match "*1" [lindex "$flags" 0] ] } {
set doit 0
}
!
if { $doit } {
verbose -log "Testing $nshort, $flags" 1
dg-test $test $flags ""
--- 66,77 ----
&& [string match "*1" [lindex "$flags" 0] ] } {
set doit 0
}
! if { [string match {*/debug-[12].c} "$nshort"] \
! && ( [string match "*coff*" "$flags"] \
! || [string match "*stabs*" "$flags"] ) } {
! set doit 0
! }
!
if { $doit } {
verbose -log "Testing $nshort, $flags" 1
dg-test $test $flags ""
More information about the Gcc-patches
mailing list