[OE-core] [PATCH] run-ptest: fix ptest output

changqing.li at windriver.com changqing.li at windriver.com
Wed Dec 18 07:55:33 UTC 2019


From: Changqing Li <changqing.li at windriver.com>

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

Signed-off-by: Changqing Li <changqing.li at windriver.com>
---
 meta/recipes-devtools/qemu/qemu/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/qemu/qemu/run-ptest b/meta/recipes-devtools/qemu/qemu/run-ptest
index 2206b31..b25a792 100644
--- a/meta/recipes-devtools/qemu/qemu/run-ptest
+++ b/meta/recipes-devtools/qemu/qemu/run-ptest
@@ -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'
-- 
2.7.4



More information about the Openembedded-core mailing list