sim: eBPF simulator
[deliverable/binutils-gdb.git] / sim / testsuite / sim / bpf / allinsn.exp
1 # eBPF simulator testsuite
2
3 if [istarget bpf-unknown-none] {
4 # all machines
5 set all_machs "bpf"
6
7 global global_sim_options
8 if ![info exists global_sim_options] {
9 set global_sim_options "--memory-size=4Mb"
10 }
11
12 global global_ld_options
13 if ![info exists global_ld_options] {
14 set global_ld_options "-Ttext=0x0"
15 }
16
17 foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
18 # If we're only testing specific files and this isn't one of them,
19 # skip it.
20 if ![runtest_file_p $runtests $src] {
21 continue
22 }
23
24 run_sim_test $src $all_machs
25 }
26 }
This page took 0.030489 seconds and 4 git commands to generate.