From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25725 invoked by alias); 18 Nov 2004 21:10:23 -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 25288 invoked from network); 18 Nov 2004 21:10:16 -0000 Received: from unknown (HELO e3.ny.us.ibm.com) (32.97.182.103) by sourceware.org with SMTP; 18 Nov 2004 21:10:16 -0000 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e3.ny.us.ibm.com (8.12.10/8.12.9) with ESMTP id iAILACW7582290 for ; Thu, 18 Nov 2004 16:10:12 -0500 Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay02.pok.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id iAILACCP282438 for ; Thu, 18 Nov 2004 16:10:12 -0500 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iAILABBk007320 for ; Thu, 18 Nov 2004 16:10:11 -0500 Received: from dyn318378bld.beaverton.ibm.com (DYN318378BLD.beaverton.ibm.com [9.47.18.189]) by d01av02.pok.ibm.com (8.12.11/8.12.11) with ESMTP id iAILABQI007282; Thu, 18 Nov 2004 16:10:11 -0500 Received: from dyn318378bld.beaverton.ibm.com (localhost.localdomain [127.0.0.1]) by dyn318378bld.beaverton.ibm.com (8.12.8/8.12.8) with ESMTP id iAILA8Vn006713; Thu, 18 Nov 2004 13:10:08 -0800 Received: (from janis@localhost) by dyn318378bld.beaverton.ibm.com (8.12.8/8.12.8/Submit) id iAILA6Oj006711; Thu, 18 Nov 2004 13:10:06 -0800 X-Authentication-Warning: dyn318378bld.beaverton.ibm.com: janis set sender to janis187@us.ibm.com using -f Date: Thu, 18 Nov 2004 22:35:00 -0000 From: Janis Johnson To: Eric Botcazou Cc: Janis Johnson , gcc@gcc.gnu.org Subject: Re: Running the compat testsuite in "non-mirror" mode Message-ID: <20041118211006.GA6700@us.ibm.com> References: <200411180815.10873.ebotcazou@libertysurf.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200411180815.10873.ebotcazou@libertysurf.fr> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-11/txt/msg00638.txt.bz2 On Thu, Nov 18, 2004 at 08:16:06AM +0100, Eric Botcazou wrote: > Hello Janis, > > I'd like to automatically run the compat testsuite in "non-mirror" mode on the > SPARC, to assert internal consistency for vector calling conventions, in > addition to the regular "mirror" mode. > > What is the best approach to achieve that? Can I duplicate compat.exp and > override ALT_CC_UNDER_TEST and COMPAT_OPTIONS in a sparc-compat.exp driver? > Would it be feasible to invoke compat.exp from another driver, for example > located in the gcc.target/sparc directory? I'm not sure what you mean by "mirror" and "non-mirror" modes. When ALT_CC_UNDER_TEST (or ALT_CXX_UNDER_TEST) is defined we build the following object files: x_tst.o and y_tst.o are compiled using CC_UNDER TEST x_alt.o and y_alt.o are compiled using ALT_CC_UNDER TEST Executables are built from each pair: x_tst.o and y_tst.o x_tst.o and y_alt.o x_alt.o and y_tst.o x_alt.o and y_alt.o Everything in the first executable is compiled by the compiler under test; is that what you want? Testing an executable for which everything is compiled by the alternate compiler makes it easier to detect failures in the mixed executables that are due to the alternate compiler. Janis