summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests
diff options
context:
space:
mode:
authorbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-17 22:37:04 +0000
committerbillingd <billingd@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-17 22:37:04 +0000
commite892b7f2fe163ccaa94ec5584489eeb9ca5db07e (patch)
treebd1214af3af531cea6ddda177faf500f28825c02 /gcc/testsuite/gcc.misc-tests
parent436fd959d2906dea2ea5273dddcd8ea5a5f0d7a7 (diff)
downloadgcc-e892b7f2fe163ccaa94ec5584489eeb9ca5db07e.tar.gz
2001-01-18 David Billinghurst <David.Billinghurst@riotinto.com>
* gcc.misc-tests/i386-prefetch.exp: Save and restore torture_with_loops and torture_without_loops git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48968 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests')
-rw-r--r--gcc/testsuite/gcc.misc-tests/i386-prefetch.exp8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp b/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp
index 353a1e6f1f9..3091845f27f 100644
--- a/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp
+++ b/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp
@@ -75,6 +75,10 @@ load_lib gcc-dg.exp
# Initialize harness.
dg-init
+# Save these. They are needed if testsuite loops over multiple ABIs
+set saved_torture_with_loops $torture_with_loops
+set saved_torture_without_loops $torture_without_loops
+
set torture_with_loops $PREFETCH_NONE
set torture_without_loops $PREFETCH_NONE
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-none-*.c]] ""
@@ -91,4 +95,8 @@ set torture_with_loops $PREFETCH_ATHLON
set torture_without_loops $PREFETCH_ATHLON
gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/i386-pf-athlon-*.c]] ""
+set torture_with_loops $saved_torture_with_loops
+set torture_without_loops $saved_torture_without_loops
+
dg-finish
+