OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [compile/] [compile.exp] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
# Expect driver script for GCC Regression Tests
2
# Copyright (C) 2003 Free Software Foundation
3
#
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.
8
#
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.
13
#
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.
17
 
18
# These tests come from many different contributors.
19
 
20
if $tracelevel then {
21
    strace $tracelevel
22
}
23
 
24
# load support procs
25
load_lib fortran-torture.exp
26
 
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
31
    }
32
    fortran-torture $testcase
33
}
34
 
35
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.F]] {
36
    if ![runtest_file_p $runtests $testcase] then {
37
        continue
38
    }
39
    fortran-torture $testcase
40
}
41
 
42
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f90]] {
43
    if ![runtest_file_p $runtests $testcase] then {
44
        continue
45
    }
46
    fortran-torture $testcase
47
}
48
 
49
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f95]] {
50
    if ![runtest_file_p $runtests $testcase] then {
51
        continue
52
    }
53
    fortran-torture $testcase
54
}
55
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.