gdbm: improve run-ptest

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

(From OE-Core rev: fa74ffac2e9ecf1b30fd893a21a7d2f8531e558d)

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>
This commit is contained in:
Ross Burton 2023-05-19 15:39:26 +01:00 committed by Richard Purdie
parent 973c37ce44
commit a43a4ea686

View File

@ -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