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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.fortran-torture/] [execute/] [execute.exp] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 303 jeremybenn
# Copyright (C) 2003, 2007, 2008 Free Software Foundation, Inc.
2
 
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; either version 3 of the License, or
6
# (at your option) any later version.
7
#
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11
# GNU General Public License for more details.
12
#
13
# You should have received a copy of the GNU General Public License
14
# along with GCC; see the file COPYING3.  If not see
15
# .
16
 
17
# This file was written by Rob Savoye. (rob@cygnus.com)
18
# Modified and maintained by Jeffrey Wheat (cassidy@cygnus.com)
19
 
20
#
21
# These tests come from many different contributors.
22
#
23
 
24
if $tracelevel then {
25
    strace $tracelevel
26
}
27
 
28
# load support procs
29
load_lib fortran-torture.exp
30
load_lib torture-options.exp
31
 
32
torture-init
33
set-torture-options [get-fortran-torture-options]
34
 
35
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f]] {
36
    # If we're only testing specific files and this isn't one of them, skip it.
37
    if ![runtest_file_p $runtests $testcase] then {
38
        continue
39
    }
40
    fortran-torture-execute $testcase
41
}
42
 
43
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.F]] {
44
    if ![runtest_file_p $runtests $testcase] then {
45
        continue
46
    }
47
    fortran-torture-execute $testcase
48
}
49
 
50
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f90]] {
51
    if ![runtest_file_p $runtests $testcase] then {
52
        continue
53
    }
54
    fortran-torture-execute $testcase
55
}
56
 
57
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.F90]] {
58
    if ![runtest_file_p $runtests $testcase] then {
59
        continue
60
    }
61
    fortran-torture-execute $testcase
62
}
63
 
64
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f95]] {
65
    if ![runtest_file_p $runtests $testcase] then {
66
        continue
67
    }
68
    fortran-torture-execute $testcase
69
}
70
 
71
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.F95]] {
72
    if ![runtest_file_p $runtests $testcase] then {
73
        continue
74
    }
75
    fortran-torture-execute $testcase
76
}
77
 
78
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f03]] {
79
    if ![runtest_file_p $runtests $testcase] then {
80
        continue
81
    }
82
    fortran-torture-execute $testcase
83
}
84
 
85
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.F03]] {
86
    if ![runtest_file_p $runtests $testcase] then {
87
        continue
88
    }
89
    fortran-torture-execute $testcase
90
}
91
 
92
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.f08]] {
93
    if ![runtest_file_p $runtests $testcase] then {
94
        continue
95
    }
96
    fortran-torture-execute $testcase
97
}
98
 
99
foreach testcase [lsort [glob -nocomplain $srcdir/$subdir/*.F08]] {
100
    if ![runtest_file_p $runtests $testcase] then {
101
        continue
102
    }
103
    fortran-torture-execute $testcase
104
}
105
 
106
torture-finish

powered by: WebSVN 2.1.0

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