1 # eBPF simulator testsuite
3 if [istarget bpf-unknown-none] {
7 global global_sim_options
8 if ![info exists global_sim_options] {
9 set global_sim_options "--memory-size=4Mb"
12 global global_ld_options
13 if ![info exists global_ld_options] {
14 set global_ld_options "-Ttext=0x0"
17 foreach src [lsort [glob -nocomplain $srcdir/$subdir/*.s]] {
18 # If we're only testing specific files and this isn't one of them,
20 if ![runtest_file_p $runtests $src] {
24 run_sim_test $src $all_machs