public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite] Skip obj-c++.dg/dwarf-2.mm on Tru64 UNIX
@ 2011-04-18 14:36 Rainer Orth
  0 siblings, 0 replies; only message in thread
From: Rainer Orth @ 2011-04-18 14:36 UTC (permalink / raw)
  To: gcc-patches

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*.

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;

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-18 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-18 14:36 [testsuite] Skip obj-c++.dg/dwarf-2.mm on Tru64 UNIX Rainer Orth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).