xref: /netbsd-src/external/gpl3/gdb/dist/sim/testsuite/bpf/allinsn.exp (revision cb63e24e8d6aae7ddac1859a9015f48b1d8bd90e)
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