You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selftests/bpf: Skip building arena tests if unsupported
BPF selftests always try building arena tests, but since kernel arena
support is not built-in on unsupported archs, this leads to failures trying
to build e.g. test_progs on 32-bit, and complicates overall testing.
Past arena test code has been mainly added as separate source files, making
it simpler to selectively build the tests. Update Makefile to filter out
arena test sources from build rules and the tests.h header, and pass macro
ENABLE_ARENA_TESTS via CFLAGS as needed (e.g. prog_tests/verifier.c).
Signed-off-by: Tony Ambardar <[email protected]>
0 commit comments