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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [compile/] [compile.exp] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
# Expect driver script for GCC Regression Tests
2
# Copyright (C) 2003, 2007 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 3 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 GCC; see the file COPYING3.  If not see
16
# .
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
 
56
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f03]] {
57
    if ![runtest_file_p $runtests $testcase] then {
58
        continue
59
    }
60
    fortran-torture $testcase
61
}

powered by: WebSVN 2.1.0

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