]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/testsuite/microblaze/allinsn.exp
sim: testsuite: push $arch out to targets
[thirdparty/binutils-gdb.git] / sim / testsuite / microblaze / allinsn.exp
CommitLineData
191ec033
MF
1# microblaze simulator testsuite
2
3if [istarget microblaze-*] {
b0dcd7d8
MF
4 # Used to locate the `run` program.
5 global arch
6 set arch "microblaze"
7
191ec033
MF
8 # all machines
9 set all_machs "microblaze"
10
11 foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
12 # If we're only testing specific files and this isn't one of them,
13 # skip it.
14 if ![runtest_file_p $runtests $src] {
15 continue
16 }
17 run_sim_test $src $all_machs
18 }
19}