mirror of
git://git.openembedded.org/meta-openembedded
synced 2025-12-31 13:38:06 +00:00
fuse3: fix ptests
Add run-ptest to SRC_URI, and add missing kernel module that's required for the tests. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
parent
edc8c68ab0
commit
8984c822f6
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
modprobe cuse
|
||||
pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
|
||||
|
||||
@ -13,6 +13,7 @@ LIC_FILES_CHKSUM = "file://GPL2.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
|
||||
|
||||
SRC_URI = "https://github.com/libfuse/libfuse/releases/download/fuse-${PV}/fuse-${PV}.tar.xz \
|
||||
file://0001-test-test_syscalls.c-allow-EBADF-in-fcheck_stat-631.patch \
|
||||
file://run-ptest \
|
||||
"
|
||||
SRC_URI[sha256sum] = "b2e283485d47404ac896dd0bb7f7ba81e1470838e677e45f659804c3a3b69666"
|
||||
|
||||
@ -34,6 +35,8 @@ RDEPENDS:${PN}-ptest += " \
|
||||
bash \
|
||||
"
|
||||
|
||||
RRECOMMENDS:${PN}-ptest += " kernel-module-cuse"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/test
|
||||
install -d ${D}${PTEST_PATH}/example
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user