]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.target/visium/visium.exp
Update copyright years.
[thirdparty/gcc.git] / gcc / testsuite / gcc.target / visium / visium.exp
1 # Specific regression driver for Visium.
2 # Copyright (C) 2015-2022 Free Software Foundation, Inc.
3 #
4 # This file is part of GCC.
5 #
6 # GCC is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
9 # any later version.
10 #
11 # GCC is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # General Public License for more details.
15 #
16 # You should have received a copy of the GNU General Public License
17 # along with GCC; see the file COPYING3. If not see
18 # <http://www.gnu.org/licenses/>. */
19
20 # GCC testsuite that uses the `dg.exp' driver.
21
22 # Exit immediately if this isn't a Visium target.
23 if {![istarget visium-*-*] } then {
24 return
25 }
26
27 # Load support procs.
28 load_lib gcc-dg.exp
29
30 # If a testcase doesn't have special options, use these.
31 global DEFAULT_CFLAGS
32 if ![info exists DEFAULT_CFLAGS] then {
33 set DEFAULT_CFLAGS " -ansi -pedantic-errors"
34 }
35
36 # Initialize `dg'.
37 dg-init
38
39 # Main loop.
40 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cCS\]]] \
41 "" $DEFAULT_CFLAGS
42
43 # All done.
44 dg-finish