From patchwork Sat Mar 28 19:25:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 455700 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 92A8F1400DE for ; Sun, 29 Mar 2015 06:25:22 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=OOO5zdjv; dkim-adsp=none (unprotected policy); dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:from:mime-version:content-type:date:subject:cc:to; q=dns; s=default; b=tn+Z9CO6lq5lV7Y+gMG/k8wnsLDQtkR1LXWUD++zHPT 1ahH6Oc0vKoNGy2ZuBLq/oWWwJ8qgg9vIqiYr91sraFN4hsT9XF7jveZKRbwASpJ nm9qNFO0M9tKot0gNIeievJQ60TfoL1/8ZBhh2x8fLC0WT5vR0iDNDYO0V4eFD/g = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:from:mime-version:content-type:date:subject:cc:to; s=default; bh=3dDVGvwY9bwmU3NVABLK5j9I2aU=; b=OOO5zdjvQTwToy9N3 g6xp0RSBrOrkhB+Q2mjSgVJIjdE2FvTgPxzjylu5+zlnfEUg+pSKd9EhP5d/FeN6 ZkaaX4qOA2fhsCPKBctpSXbn7FWcvKkRQnRoUkemo/xqvXLTAkytD7dizuQG5fqu b7UrKgrIdVUmiHo+s5BbX1Vpdo= Received: (qmail 60902 invoked by alias); 28 Mar 2015 19:25:15 -0000 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 Received: (qmail 60881 invoked by uid 89); 28 Mar 2015 19:25:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: BLU004-OMC3S9.hotmail.com Received: from blu004-omc3s9.hotmail.com (HELO BLU004-OMC3S9.hotmail.com) (65.55.116.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Sat, 28 Mar 2015 19:25:13 +0000 Received: from BLU436-SMTP9 ([65.55.116.72]) by BLU004-OMC3S9.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sat, 28 Mar 2015 12:25:11 -0700 X-TMN: [dEFh08cd0sDECANJ/wM3BMF63B9WAnuO] Message-ID: From: John David Anglin MIME-Version: 1.0 (Apple Message framework v1085) Date: Sat, 28 Mar 2015 15:25:08 -0400 Subject: [PATCH] libffi testsuite: Don't run testsuite/libffi.call/float2.c on hppa*-*-hpux* CC: andreast@gcc.gnu.org To: GCC Patches The libffi.call/float2.c test uses fabsl which was introduced in c99 and isn't available on hppa*-*-hpux*. In order to use the target selector with dg-run, I need to load target-supports-dg.exp in lib/libffi.exp. Tested on hppa2.0w-hp-hpux11.11. Okay for trunk? Dave --- John David Anglin dave.anglin@bell.net 2015-03-28 John David Anglin PR libffi/65441 * testsuite/lib/libffi.exp: Load target-supports-dg.exp. * testsuite/libffi.call/float2.c: Don't run on hppa*-*-hpux*. Index: testsuite/lib/libffi.exp =================================================================== --- testsuite/lib/libffi.exp (revision 221726) +++ testsuite/lib/libffi.exp (working copy) @@ -24,6 +24,7 @@ load_lib dg.exp load_lib libgloss.exp load_gcc_lib target-supports.exp +load_gcc_lib target-supports-dg.exp load_gcc_lib target-libpath.exp load_gcc_lib wrapper.exp Index: testsuite/libffi.call/float2.c =================================================================== --- testsuite/libffi.call/float2.c (revision 221726) +++ testsuite/libffi.call/float2.c (working copy) @@ -3,7 +3,7 @@ Limitations: none. PR: none. Originator: From the original ffitest.c */ -/* { dg-do run } */ +/* { dg-do run { target { ! hppa*-*-hpux* } } } */ #include "ffitest.h" #include "float.h"