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