Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gfortran.fortran-torture / compile / compile.exp
blob94a8d6d81eeed8118b50b248ea52ce70f6452387
1 # Expect driver script for GCC Regression Tests
2 # Copyright (C) 2003 Free Software Foundation
4 # This file is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 # These tests come from many different contributors.
20 if $tracelevel then {
21 strace $tracelevel
24 # load support procs
25 load_lib fortran-torture.exp
27 foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f]] {
28 # If we're only testing specific files and this isn't one of them, skip it.
29 if ![runtest_file_p $runtests $testcase] then {
30 continue
32 fortran-torture $testcase
35 foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.F]] {
36 if ![runtest_file_p $runtests $testcase] then {
37 continue
39 fortran-torture $testcase
42 foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f90]] {
43 if ![runtest_file_p $runtests $testcase] then {
44 continue
46 fortran-torture $testcase
49 foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f95]] {
50 if ![runtest_file_p $runtests $testcase] then {
51 continue
53 fortran-torture $testcase