]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
gdbm: improve run-ptest
authorRoss Burton <ross.burton@arm.com>
Fri, 19 May 2023 14:39:26 +0000 (15:39 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 May 2023 09:29:04 +0000 (10:29 +0100)
There's no need to use a sed to get the output we need, autotest can do
that itself if told.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/gdbm/files/run-ptest

index 615da8444b215904e71e807005a62c3cf5cc4570..8d6481185d0b944c3b99170998496481aa46ddd2 100755 (executable)
@@ -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