aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.fortran-torture
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2008-05-27 18:57:10 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2008-05-27 18:57:10 +0000
commit75e8fd2f7196e3d6a5ffd0272e241f83c0d69c97 (patch)
tree85583dd10e025d8214565b0252caef2a519217ee /gcc/testsuite/gfortran.fortran-torture
parent3395aa0532ff98b73cc64ad83e8940c40e78acae (diff)
downloadgcc-75e8fd2f7196e3d6a5ffd0272e241f83c0d69c97.zip
gcc-75e8fd2f7196e3d6a5ffd0272e241f83c0d69c97.tar.gz
gcc-75e8fd2f7196e3d6a5ffd0272e241f83c0d69c97.tar.bz2
fortran-torture.exp (get-fortran-torture-options): New function, replacing old FORTRAN_TORTURE_OPTIONS code.
gcc/testsuite/ * lib/fortran-torture.exp (get-fortran-torture-options): New function, replacing old FORTRAN_TORTURE_OPTIONS code. * gfortran.fortran-torture/compile/compile.exp: Use [get-fortran-torture-options] instead of $FORTRAN_TORTURE_OPTIONS. * gfortran.fortran-torture/execute/execute.exp: Likewise. From-SVN: r136050
Diffstat (limited to 'gcc/testsuite/gfortran.fortran-torture')
-rw-r--r--gcc/testsuite/gfortran.fortran-torture/compile/compile.exp2
-rw-r--r--gcc/testsuite/gfortran.fortran-torture/execute/execute.exp2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp b/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp
index b18e25c..6c4890d 100644
--- a/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp
+++ b/gcc/testsuite/gfortran.fortran-torture/compile/compile.exp
@@ -26,7 +26,7 @@ load_lib fortran-torture.exp
load_lib torture-options.exp
torture-init
-set-torture-options $FORTRAN_TORTURE_OPTIONS
+set-torture-options [get-fortran-torture-options]
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f]] {
# If we're only testing specific files and this isn't one of them, skip it.
diff --git a/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp b/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp
index 157c240..2dd408d 100644
--- a/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp
+++ b/gcc/testsuite/gfortran.fortran-torture/execute/execute.exp
@@ -30,7 +30,7 @@ load_lib fortran-torture.exp
load_lib torture-options.exp
torture-init
-set-torture-options $FORTRAN_TORTURE_OPTIONS
+set-torture-options [get-fortran-torture-options]
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f]] {
# If we're only testing specific files and this isn't one of them, skip it.