mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
mcelog: improve the ptest output
Before: # ./run-ptest [snip] code 0xd2d: [PASS] After: # ./run-ptest [snip] PASS: code 0xd2d Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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\]//'
|
||||
|
||||
Reference in New Issue
Block a user