mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
sshfs-fuse: Fix ptests
Symlink to sshfs parallel to test dir is needed during test runs Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
48d82c20c4
commit
8cda256948
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
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}}'
|
||||
pytest --automake
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ SRC_URI += " \
|
|||
|
||||
RDEPENDS:${PN}-ptest += " \
|
||||
python3-pytest \
|
||||
python3-unittest-automake-output \
|
||||
bash \
|
||||
fuse \
|
||||
"
|
||||
|
|
@ -27,4 +28,5 @@ RDEPENDS:${PN}-ptest += " \
|
|||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/test
|
||||
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
|
||||
ln -sf ${bindir}/sshfs ${D}${PTEST_PATH}/sshfs
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user