openembedded-devel.lists.openembedded.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] openvpn: change ptest output format
@ 2025-08-21  9:06 jiaying.song.cn
  0 siblings, 0 replies; only message in thread
From: jiaying.song.cn @ 2025-08-21  9:06 UTC (permalink / raw)
  To: openembedded-devel, skandigraun

From: Jiaying Song <jiaying.song.cn@windriver.com>

The format selected is the automake "simple test" format: "result: testname".

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
---
 .../recipes-support/openvpn/openvpn/run-ptest            | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta-networking/recipes-support/openvpn/openvpn/run-ptest b/meta-networking/recipes-support/openvpn/openvpn/run-ptest
index 5b187d9086..19f66b5c56 100644
--- a/meta-networking/recipes-support/openvpn/openvpn/run-ptest
+++ b/meta-networking/recipes-support/openvpn/openvpn/run-ptest
@@ -1,5 +1,8 @@
 #!/bin/sh
-for x in `find ./ -name Makefile`;
-do
-	make -C `dirname ${x}` -k runtest-TESTS
+
+find ./ -name Makefile | while read -r x; do
+    make -C "$(dirname "${x}")" -k runtest-TESTS | sed \
+        -e 's/^\(\[       OK \].*\)$/PASS: \1/' \
+        -e 's/^\(\[  FAILED  \].*\)$/FAIL: \1/' \
+        -e 's/^\(\[  SKIPPED \].*\)$/SKIP: \1/'
 done
-- 
2.34.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-08-21  9:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-21  9:06 [PATCH V2] openvpn: change ptest output format jiaying.song.cn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).