From patchwork Mon Apr 18 14:18:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 91756 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id AFB7CB6F57 for ; Tue, 19 Apr 2011 00:19:09 +1000 (EST) Received: (qmail 21564 invoked by alias); 18 Apr 2011 14:19:07 -0000 Received: (qmail 21556 invoked by uid 22791); 18 Apr 2011 14:19:06 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, TW_GD, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 18 Apr 2011 14:18:28 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 49C74712 for ; Mon, 18 Apr 2011 16:18:26 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BiJf+moEr2qB for ; Mon, 18 Apr 2011 16:18:24 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 85B16711 for ; Mon, 18 Apr 2011 16:18:24 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p3IEIOrY002305; Mon, 18 Apr 2011 16:18:24 +0200 (MEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [testsuite] Skip obj-c++.dg/dwarf-2.mm on Tru64 UNIX Date: Mon, 18 Apr 2011 16:18:24 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 * 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;