From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31547 invoked by alias); 21 Nov 2004 21:18:57 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 31522 invoked from network); 21 Nov 2004 21:18:52 -0000 Received: from unknown (HELO mail.libertysurf.net) (213.36.80.90) by sourceware.org with SMTP; 21 Nov 2004 21:18:52 -0000 Received: from dyn-83-156-212-82.ppp.tiscali.fr (83.156.212.82) by mail.libertysurf.net (6.5.036) id 41A0181D00253BE8; Sun, 21 Nov 2004 22:18:50 +0100 From: Eric Botcazou To: Janis Johnson Subject: Re: Running the compat testsuite in "non-mirror" mode Date: Mon, 22 Nov 2004 00:59:00 -0000 User-Agent: KMail/1.6.1 Cc: gcc@gcc.gnu.org References: <200411180815.10873.ebotcazou@libertysurf.fr> <200411191912.43024.ebotcazou@libertysurf.fr> <20041120005359.GA7885@us.ibm.com> In-Reply-To: <20041120005359.GA7885@us.ibm.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200411212219.48120.ebotcazou@libertysurf.fr> X-SW-Source: 2004-11/txt/msg00726.txt.bz2 > Does this do the kind of thing you want? This is just an example, not > options I actually want to add for powerpc. This worked fine on the SPARC: Index: gcc.dg/compat/compat.exp =================================================================== RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/compat/compat.exp,v retrieving revision 1.1 diff -u -r1.1 compat.exp --- gcc.dg/compat/compat.exp 5 May 2003 21:59:35 -0000 1.1 +++ gcc.dg/compat/compat.exp 21 Nov 2004 20:18:28 -0000 @@ -35,6 +35,15 @@ load_lib standard.exp load_lib gcc.exp +# Some targets run the tests multiple times with different sets of options. +if ![info exists COMPAT_OPTIONS] { + if { [istarget sparc*-*-*] } { + set COMPAT_OPTIONS [list \ + [list {} {}] \ + [list {-mcpu=ultrasparc -mvis} {}]] + } +} + # # compat-use-alt-compiler -- make the alternate compiler the default # -- Eric Botcazou