From: mingli.yu@windriver.com Date: Wed, 3 Aug 2016 09:22:57 +0000 (+0800) Subject: lzo: update ptest output format X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24745 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d09bfbeb898306298af1073d5d3d7512403b99c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git lzo: update ptest output format The output format was updated to match yocto ptest rules: : where the result can be PASS, FAIL, or SKIP, and the testname can be any identifying string. Signed-off-by: Li Wang Signed-off-by: Mingli Yu Signed-off-by: Ross Burton --- diff --git a/meta/recipes-support/lzo/lzo/run-ptest b/meta/recipes-support/lzo/lzo/run-ptest index 2ea7745f70a..6acb89fc1fe 100644 --- a/meta/recipes-support/lzo/lzo/run-ptest +++ b/meta/recipes-support/lzo/lzo/run-ptest @@ -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