lzo: update ptest output format
PATCH 1/1 lzo: update ptest output format
The output format was updated to match yocto ptest rules:
<result>: <testname>
where the result can be PASS, FAIL, or SKIP, and the testname can be any identifying string.
Signed-off-by Li Wang <[email protected]>
Signed-off-by Mingli Yu <[email protected]>
--- meta/recipes-support/lzo/lzo/run-ptest | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
meta/recipes-support/lzo/lzo/run-ptest +25 -0
@@ -1,8 +1,33 @@ #!/bin/sh ./lzotest -mavail -n10 -q /etc/services +if [ $? -eq 0 ]; then + echo 'PASS: lzotest' +else + echo 'FAIL: lzotest' +fi LZOTEST=./lzotest /bin/sh -e "./check.sh" "/etc" ./align +if [ $? -eq 0 ]; then + echo 'PASS: align' +else + echo 'FAIL: align' +fi ./chksum +if [ $? -eq 0 ]; then + echo 'PASS: chksum' +else + echo 'FAIL: chksum' +fi ./simple +if [ $? -eq 0 ]; then + echo 'PASS: simple' +else + echo 'FAIL: simple' +fi ./testmini +if [ $? -eq 0 ]; then + echo 'PASS: testmini' +else + echo 'FAIL: testmini' +fi
Signature · 1 line
2.8.1