Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / visium / visium.exp
blobd1efac0122de372b08f02f9df52bc83eb68dd441
1 # Specific regression driver for Visium.
2 # Copyright (C) 2015-2018 Free Software Foundation, Inc.
4 # This file is part of GCC.
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.
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.
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/>. */
20 # GCC testsuite that uses the `dg.exp' driver.
22 # Exit immediately if this isn't a Visium target.
23 if {![istarget visium-*-*] } then {
24 return
27 # Load support procs.
28 load_lib gcc-dg.exp
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"
36 # Initialize `dg'.
37 dg-init
39 # Main loop.
40 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cCS\]]] \
41 "" $DEFAULT_CFLAGS
43 # All done.
44 dg-finish