]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/frv/interrupts.exp
sim: testsuite: push $arch out to targets
[thirdparty/binutils-gdb.git] / sim / testsuite / frv / interrupts.exp
1 # FRV simulator testsuite.
2
3 if [istarget frv*-*] {
4 # Used to locate the `run` program.
5 global arch
6 set arch "frv"
7
8 # all machines
9 set all_machs "frv fr500 fr550 fr400"
10 set cpu_option -mcpu
11
12 # The .cgs suffix is for "cgen .s".
13 foreach src [lsort [glob -nocomplain $srcdir/$subdir/interrupts/*.cgs]] {
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 }