1 # Tests for the xstormy16
3 if {![istarget xstormy16-*-*]} {
12 # Assemble the below100.S file which contains
13 # support code for the rest of the tests.
14 set old-dg-do-what-default "${dg-do-what-default}"
15 set dg-do-what-default assemble
16 dg-test -keep-output "$srcdir/$subdir/below100.S" "" ""
17 set dg-do-what-default run
21 foreach testcase [lsort [find $srcdir/$subdir *.c]] {
24 set base "[file rootname [file tail $testcase]]"
26 if ![runtest_file_p $runtests $testcase] {
30 set fails_before $test_counts(FAIL,count)
31 dg-test $testcase "--save-temps -fno-inline-functions -L$srcdir/$subdir" ""
32 set fails_after $test_counts(FAIL,count)
34 if { $fails_before == $fails_after } {
35 catch "exec rm -f $base.i $base.s $base.o"
39 set dg-do-what-default "${old-dg-do-what-default}"