]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/m32c/allinsn.exp
fb5ccca282e1e47c06f30462f5f635c6122ae2db
[thirdparty/binutils-gdb.git] / sim / testsuite / m32c / allinsn.exp
1 # M32C simulator testsuite.
2 # TODO: Add support for .c tests.
3
4 if [istarget m32c*-*-*] {
5 # all machines
6 set all_machs "m32c"
7
8 foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
9 # If we're only testing specific files and this isn't one of them,
10 # skip it.
11 if ![runtest_file_p $runtests $src] {
12 continue
13 }
14 run_sim_test $src $all_machs
15 }
16 }