This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Running the compat testsuite in "non-mirror" mode


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]