Skip to contentSkip to conversation

run-ptest: fix ptest output

PATCH In review [email protected] 2 participants 2 messages Dec 18, 2019 – Dec 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 run-ptest: fix ptest output

From: Changqing Li <[email protected]>

output of qemu test changed, fix the sed cmd to
make it output as expect style

---
 meta/recipes-devtools/qemu/qemu/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/qemu/qemu/run-ptest +1 -1
index 2206b31..b25a792 100644
@@ -7,4 +7,4 @@ ptestdir=$(dirname "$(readlink -f "$0")")
 export SRC_PATH=$ptestdir
 
 cd $ptestdir/tests
-make -f Makefile.include -k runtest-TESTS | sed '/: OK/ s/^/PASS: /g'
+make -f Makefile.include -k runtest-TESTS | sed '/^ok /s/ok /PASS: /g'
Signature · 1 line
2.7.4
#1 lore raw

Remember to include the name of the recipe in the shortlog.