diff options
| -rw-r--r-- | meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest | 2 | ||||
| -rw-r--r-- | meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest index b63c4de0d9..8d2017d39c 100644 --- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest +++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse/run-ptest | |||
| @@ -1,3 +1,3 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | 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}}' | 3 | pytest --automake |
diff --git a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb index 5a926dac0c..fd5af0b026 100644 --- a/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb +++ b/meta-filesystems/recipes-filesystems/sshfs-fuse/sshfs-fuse_3.7.3.bb | |||
| @@ -20,6 +20,7 @@ SRC_URI += " \ | |||
| 20 | 20 | ||
| 21 | RDEPENDS:${PN}-ptest += " \ | 21 | RDEPENDS:${PN}-ptest += " \ |
| 22 | python3-pytest \ | 22 | python3-pytest \ |
| 23 | python3-unittest-automake-output \ | ||
| 23 | bash \ | 24 | bash \ |
| 24 | fuse \ | 25 | fuse \ |
| 25 | " | 26 | " |
| @@ -27,4 +28,5 @@ RDEPENDS:${PN}-ptest += " \ | |||
| 27 | do_install_ptest() { | 28 | do_install_ptest() { |
| 28 | install -d ${D}${PTEST_PATH}/test | 29 | install -d ${D}${PTEST_PATH}/test |
| 29 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | 30 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ |
| 31 | ln -sf ${bindir}/sshfs ${D}${PTEST_PATH}/sshfs | ||
| 30 | } | 32 | } |
