sim: testsuite: drop most specific istarget checks
[binutils-gdb.git] / sim / testsuite / bfin / allinsn.exp
1 # Analog Devices Blackfin simulator testsuite
2
3 # Set a default CPU to satisfy bfin-elf-gcc requirements. BF537 should work
4 # with all standard Blackfin toolchains.
5 global CFLAGS_FOR_TARGET_init
6 set CFLAGS_FOR_TARGET_init "-mcpu=bf537"
7 sim_init
8
9 if [istarget *] {
10 # all machines
11 set all_machs "bfin"
12
13 foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.\[csS\]]] {
14 # If we're only testing specific files and this isn't one of them,
15 # skip it.
16 if ![runtest_file_p $runtests $src] {
17 continue
18 }
19 run_sim_test $src $all_machs
20 }
21 }