Gyorgy Sarvari 8984c822f6 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>
2025-10-29 17:05:19 +01:00

5 lines
417 B
Bash

#!/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}}'