mcelog: improve the ptest output
PATCH 1/1 mcelog: improve the ptest output
From: Mingli Yu <[email protected]>
Before:
# ./run-ptest [snip] code 0xd2d: [PASS]
After:
# ./run-ptest [snip] PASS: code 0xd2d
Signed-off-by Mingli Yu <[email protected]>
--- meta-oe/recipes-support/mcelog/mcelog/run-ptest | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
meta-oe/recipes-support/mcelog/mcelog/run-ptest +7 -1
@@ -1,3 +1,9 @@ #!/bin/sh -make -C tests test +make -C tests test | sed -e '/\[PASS\]/ s/^/PASS: /g' \ + -e '/\[FAIL\]/ s/^/FAIL: /g' \ + -e '/\[IGNORE\]/ s/^/SKIP: /g' \ + -e 's/IGNORE:/SKIP:/' \ + -e 's/: \[PASS\]//' \ + -e 's/: \[FAIL\]//' \ + -e 's/: \[IGNORE\]//'
Signature · 1 line
2.25.1