]> git.ipfire.org Git - thirdparty/gcc.git/blob - libphobos/testsuite/lib/libphobos-dg.exp
Update copyright years.
[thirdparty/gcc.git] / libphobos / testsuite / lib / libphobos-dg.exp
1 # Copyright (C) 2017-2024 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 # <http://www.gnu.org/licenses/>.
16
17 load_gcc_lib multiline.exp
18 load_gcc_lib prune.exp
19 load_gcc_lib scandump.exp
20 load_gcc_lib scanltranstree.exp
21 load_gcc_lib scanwpaipa.exp
22 load_gcc_lib file-format.exp
23 load_gcc_lib scanasm.exp
24 load_gcc_lib scanlang.exp
25 load_gcc_lib scanrtl.exp
26 load_gcc_lib scansarif.exp
27 load_gcc_lib scantree.exp
28 load_gcc_lib scanipa.exp
29 load_gcc_lib torture-options.exp
30 load_gcc_lib timeout-dg.exp
31 load_gcc_lib fortran-modules.exp
32 load_gcc_lib gcc-dg.exp
33
34 # Utility routines.
35
36 #
37 # libphobos_load -- wrapper around default libphobos_load to handle tests that
38 # require program arguments passed to them.
39 #
40
41 if { [info procs libphobos_load] != [list] \
42 && [info procs prev_libphobos_load] == [list] } {
43 rename libphobos_load prev_libphobos_load
44
45 proc libphobos_load { program args } {
46 global libphobos_run_args
47 if { $libphobos_run_args != "" } {
48 set args [concat "{$libphobos_run_args}"]
49 }
50 set result [eval [list prev_libphobos_load $program] $args ]
51 return $result
52 }
53 }