diff mbox

[testsuite] Skip obj-c++.dg/dwarf-2.mm on Tru64 UNIX

Message ID yddbp03r6bz.fsf@manam.CeBiTec.Uni-Bielefeld.DE
State New
Headers show

Commit Message

Rainer Orth April 18, 2011, 2:18 p.m. UTC
obj-c++.dg/dwarf-2.mm fails on Tru64 UNIX since the target doesn't
support DWARF-2:

FAIL: obj-c++.dg/dwarf-2.mm -fgnu-runtime (test for excess errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/obj-c++.dg/dwarf-2.mm:1:0: error: target system does not support the "dwarf-2" debug format

ERROR: obj-c++.dg/dwarf-2.mm: error executing dg-final: couldn't open "dwarf-2.s": no such file or directory
UNRESOLVED: obj-c++.dg/dwarf-2.mm: error executing dg-final: couldn't open "dwarf-2.s": no such file or directory

To avoid this, the following patch skips the test as is done in
objc.dg/dwarf-2.m.

Tested with the appropriate runtest invocation, installed on mainline.

	Rainer


2011-04-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* obj-c++.dg/dwarf-2.mm: Skip on alpha*-dec-osf*.
diff mbox

Patch

Index: gcc/testsuite/obj-c++.dg/dwarf-2.mm
===================================================================
--- gcc/testsuite/obj-c++.dg/dwarf-2.mm	(revision 172647)
+++ gcc/testsuite/obj-c++.dg/dwarf-2.mm	(working copy)
@@ -1,4 +1,4 @@ 
 /* { dg-options "-gdwarf-2 -dA" } */
-/* { dg-skip-if "" { { hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */
+/* { dg-skip-if "No Dwarf" { { alpha*-dec-osf* hppa*-*-hpux* } && { ! hppa*64*-*-* } } { "*" } { "" } } */
 /* { dg-final { scan-assembler "0x11\[^0-9a-f\].*DW_AT_language" } } */
 int x;