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