math-torture.exp: Restrict to i?86 and x86_64 targets.
authorRichard Guenther <rguenther@suse.de>
Tue, 14 Nov 2006 22:01:08 +0000 (22:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 14 Nov 2006 22:01:08 +0000 (22:01 +0000)
2006-11-14  Richard Guenther  <rguenther@suse.de>

        * gcc.target/i386/math-torture/math-torture.exp: Restrict
        to i?86 and x86_64 targets.

From-SVN: r118827

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/math-torture/math-torture.exp

index 2ad8fb3..a28db4f 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-14  Richard Guenther  <rguenther@suse.de>
+
+       * gcc.target/i386/math-torture/math-torture.exp: Restrict
+       to i?86 and x86_64 targets.
+
 2006-11-14  Caroline Tice  <ctice@apple.com>
 
        * gcc.dg/pubtypes-1.c: New file/testcase.
index 01f0778..2bd847d 100644 (file)
@@ -1,5 +1,10 @@
 # This harness is for tests that should be run at all optimisation levels.
 
+# Exit immediately if this isn't a x86 target.
+if { ![istarget i?86*-*-*] && ![istarget x86_64-*-*] } then {
+  return
+}
+
 set TORTURE_OPTIONS [list \
         { -O0 } \
         { -O0 -mfpmath=387 } \