Skip to contentSkip to conversation

gdbm: improve run-ptest

PATCH New [email protected] 1 participant 1 message May 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdbm: improve run-ptest

From: Ross Burton <[email protected]>

There's no need to use a sed to get the output we need, autotest can do that itself if told.

---
 meta/recipes-support/gdbm/files/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/gdbm/files/run-ptest +1 -1
index 615da8444b2..8d6481185d0 100755
@@ -4,4 +4,4 @@
 
 cd tests
 
-./testsuite AUTOTEST_PATH=$PWD abs_builddir=$PWD COMPAT=1 | sed 's/^[^0-9]*\([0-9]\+\): \(.*\)\(ok\|pass\|skipped\|fail\|FAILED\)\(.*\)$/\3: \2 \4/;s/ \+/ /g;s/^ok/PASS/;s/^skipped/SKIP/;s/^fail/FAIL/;s/^FAILED/FAIL/'
+./testsuite --am-fmt AUTOTEST_PATH=$PWD abs_builddir=$PWD COMPAT=1
Signature · 1 line
2.34.1