From patchwork Fri Mar 28 13:05:31 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 334689 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 887A0140082 for ; Sat, 29 Mar 2014 00:06:08 +1100 (EST) 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:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=CjWfzwbF3AKnQrtBRCgmhKpjIyjuK3z5YlyCz/BAQTPuFG eRKHqIp83rSwhf0JkVqqfDP6XfBIcMmjgKD0iBLWcoBlMku2dSbJDOKErsKbri85 vm03Eir16kTNQjxmyDk4YW4Lunj6sNKkkeTnHjW3v6/H0/jH1drhsEl7ck+40= 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:date:from:mime-version:to:subject:content-type; s= default; bh=0tH46I395sfv6IK6cVs3zeUNfXk=; b=hvKWXVevaBaZedCt8fRz GrS//l6hLUR0XTlxGl4qi7t6A0HwnyV2fvC6tIx1tPpSgsEylROBf8/OzUbHzLWE PHKJw58L9PAqzimL6ZMf2jvcnuuLQDc7mujG3IoHZ9d5zNVw1wl3KDx18hlMsyJz 5UalNeJalKUvz5QjFEpYMfY= Received: (qmail 29812 invoked by alias); 28 Mar 2014 13:05:36 -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 29729 invoked by uid 89); 28 Mar 2014 13:05:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL, BAYES_00 autolearn=ham version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 28 Mar 2014 13:05:34 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4FC9AABE4 for ; Fri, 28 Mar 2014 13:05:31 +0000 (UTC) Message-ID: <5335739B.4060103@suse.cz> Date: Fri, 28 Mar 2014 14:05:31 +0100 From: =?windows-1252?Q?Martin_Li=9Aka?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: GCC Patches Subject: [PATCH] g++.dg: add ipa.exp file X-IsSubscribed: yes Hi, I would like to add corresponding ipa.exp file for g++ that let me run: make -k check RUNTESTFLAGS="ipa.exp" Changelog: 2014-03-28 Martin Liska * g++.dg/ipa.epx: Anologous file added to g++.dg folder. OK for trunk? Thank you, Martin diff --git a/gcc/testsuite/g++.dg/ipa/ipa.exp b/gcc/testsuite/g++.dg/ipa/ipa.exp new file mode 100644 index 0000000..af7b8a7 --- /dev/null +++ b/gcc/testsuite/g++.dg/ipa/ipa.exp @@ -0,0 +1,35 @@ +# Copyright (C) 1997-2014 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# . + +# G++ testsuite that uses the `dg.exp' driver. + +# Load support procs. +load_lib g++-dg.exp + +# If a testcase doesn't have special options, use these. +global DEFAULT_CXXFLAGS +if ![info exists DEFAULT_CXXFLAGS] then { + set DEFAULT_CXXFLAGS " -pedantic-errors -Wno-long-long" +} + +# Initialize `dg'. +dg-init + +# Main loop. +dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[C\]]] "" $DEFAULT_CXXFLAGS + +# All done. +dg-finish