mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
kernel-selftest: fix ptest
The run-ptest script was trying to call test_align executable, which doesn't exist (anymore?). Instead align more to master branch, and execute the selftests themselves. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
@@ -133,7 +133,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|||||||
INHIBIT_PACKAGE_DEBUG_SPLIT="1"
|
INHIBIT_PACKAGE_DEBUG_SPLIT="1"
|
||||||
FILES:${PN} += "/usr/kernel-selftest"
|
FILES:${PN} += "/usr/kernel-selftest"
|
||||||
|
|
||||||
RDEPENDS:${PN} += "python3 perl"
|
RDEPENDS:${PN} += "python3 perl perl-module-io-handle"
|
||||||
# tools/testing/selftests/vm/Makefile doesn't respect LDFLAGS and tools/testing/selftests/Makefile explicitly overrides to empty
|
# tools/testing/selftests/vm/Makefile doesn't respect LDFLAGS and tools/testing/selftests/Makefile explicitly overrides to empty
|
||||||
INSANE_SKIP:${PN} += "ldflags"
|
INSANE_SKIP:${PN} += "ldflags"
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
export PATH=$PATH:/usr/kernel-selftest/bpf
|
export PATH=$PATH:/usr/kernel-selftest/bpf
|
||||||
|
|
||||||
# test_align
|
/usr/kernel-selftest/run_kselftest.sh -s
|
||||||
test_align | grep "12 pass" &> /dev/null
|
|
||||||
if [ $? == 0 ]; then
|
if [ $? == 0 ]; then
|
||||||
echo "[PASS]: test_align"
|
echo "PASS: kernel-selftest"
|
||||||
else
|
else
|
||||||
echo "[FAIL]: test_align"
|
echo "[FAIL]: kernel-selftest"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user