xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/bpf/allinsn.exp (revision 2dd295436a0082eb4f8d294f4aa73c223413d0f2)
1# eBPF simulator testsuite
2
3sim_init
4
5# all machines
6set all_machs "bpf"
7
8global SIMFLAGS_FOR_TARGET
9set SIMFLAGS_FOR_TARGET "--memory-size=4Mb"
10
11global LDFLAGS_FOR_TARGET
12set LDFLAGS_FOR_TARGET "-Ttext=0x0"
13
14foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
15    # If we're only testing specific files and this isn't one of them, skip it.
16    if ![runtest_file_p $runtests $src] {
17	continue
18    }
19    run_sim_test $src $all_machs
20}
21