mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-17 06:49:07 +08:00
Factor out test_progs_noalu function
This change factors out a new function, test_progs_noalu, in the run_selftests.sh script. Having this function available will make it easier for us to run tests conditionally later on, but it's also a matter of having one function for one binary. Signed-off-by: Daniel Müller <deso@posteo.net>
This commit is contained in:
committed by
danielocfb
parent
e3c2b8a48d
commit
66b788c1a4
@@ -26,7 +26,9 @@ test_progs() {
|
||||
echo "test_progs:$?" >> "${STATUS_FILE}"
|
||||
foldable end test_progs
|
||||
fi
|
||||
}
|
||||
|
||||
test_progs_noalu() {
|
||||
foldable start test_progs-no_alu32 "Testing test_progs-no_alu32"
|
||||
./test_progs-no_alu32 ${DENYLIST:+-d$DENYLIST} ${ALLOWLIST:+-a$ALLOWLIST} && true
|
||||
echo "test_progs-no_alu32:$?" >> "${STATUS_FILE}"
|
||||
@@ -56,6 +58,7 @@ ALLOWLIST=$(read_lists "$configs_path/ALLOWLIST-${KERNEL}" "$configs_path/ALLOWL
|
||||
cd ${PROJECT_NAME}/selftests/bpf
|
||||
|
||||
test_progs
|
||||
test_progs_noalu
|
||||
|
||||
if [[ "${KERNEL}" == 'latest' ]]; then
|
||||
test_maps
|
||||
|
||||
Reference in New Issue
Block a user