aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Billinghurst <David.Billinghurst@riotinto.com>2002-01-17 22:37:04 +0000
committerDavid Billinghurst <billingd@gcc.gnu.org>2002-01-17 22:37:04 +0000
commit6040e200437f0a0d4028d2a6f3afface83016016 (patch)
treebd1214af3af531cea6ddda177faf500f28825c02
parent715e561616b24025adfaf76ce562286b216fc702 (diff)
downloadgcc-6040e200437f0a0d4028d2a6f3afface83016016.zip
gcc-6040e200437f0a0d4028d2a6f3afface83016016.tar.gz
gcc-6040e200437f0a0d4028d2a6f3afface83016016.tar.bz2
i386-prefetch.exp: Save and restore torture_with_loops and torture_without_loops
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 From-SVN: r48968
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.misc-tests/i386-prefetch.exp8
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index f3bd783..548b97e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+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
+
2002-01-17 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/compile/20020116-1.c: New test.
diff --git a/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp b/gcc/testsuite/gcc.misc-tests/i386-prefetch.exp
index 353a1e6..3091845 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
+