OSDN Git Service

* gcc.target/xstormy16: New test directory.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / xstormy16 / xstormy16.exp
1 # Tests for the xstormy16
2
3 if {![istarget xstormy16-*-*]} {
4     return 0
5 }
6
7 load_lib gcc-dg.exp
8
9 # If a testcase doesn't have special options, use these.
10 global DEFAULT_CFLAGS
11 if ![info exists DEFAULT_CFLAGS] then {
12     set DEFAULT_CFLAGS " -ansi -pedantic-errors"
13 }
14
15 # Initialize `dg'.
16 dg-init
17
18 # Main loop.
19 dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
20         "" $DEFAULT_CFLAGS
21
22 # All done.
23 dg-finish