diff options
author | Ross Burton <ross.burton@arm.com> | 2023-05-19 15:39:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-25 10:29:08 +0100 |
commit | a43a4ea6864e68c115cb7e615d6a7a740248838c (patch) | |
tree | 8d6c7d3869700fb126c490b37305a526e52bb6d0 /meta/recipes-support/gdbm | |
parent | 973c37ce44efdfec4f02ce31925a2fffb956c3be (diff) | |
download | poky-a43a4ea6864e68c115cb7e615d6a7a740248838c.tar.gz |
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>
Diffstat (limited to 'meta/recipes-support/gdbm')
-rwxr-xr-x | meta/recipes-support/gdbm/files/run-ptest | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/gdbm/files/run-ptest b/meta/recipes-support/gdbm/files/run-ptest index 615da8444b..8d6481185d 100755 --- a/meta/recipes-support/gdbm/files/run-ptest +++ b/meta/recipes-support/gdbm/files/run-ptest | |||
@@ -4,4 +4,4 @@ | |||
4 | 4 | ||
5 | cd tests | 5 | cd tests |
6 | 6 | ||
7 | ./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/' | 7 | ./testsuite --am-fmt AUTOTEST_PATH=$PWD abs_builddir=$PWD COMPAT=1 |