]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 2ad8fb323aba5a3e959375169f287929f0f4bc08..a28db4f194d9053d0550ff492c2208fa9c4d5c80 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 01f0778ca24d6c0f555e3a2be9c79661c3cd3c96..2bd847d4df609966e45fe9fb227481a4bea227d4 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 } \