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. (From OE-Core rev: 5d09bfbeb898306298af1073d5d3d7512403b99c) Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
9ec7cef3d0
commit
07d9c3a41d
|
@ -1,8 +1,33 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
./lzotest -mavail -n10 -q /etc/services
|
./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"
|
LZOTEST=./lzotest /bin/sh -e "./check.sh" "/etc"
|
||||||
./align
|
./align
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo 'PASS: align'
|
||||||
|
else
|
||||||
|
echo 'FAIL: align'
|
||||||
|
fi
|
||||||
./chksum
|
./chksum
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo 'PASS: chksum'
|
||||||
|
else
|
||||||
|
echo 'FAIL: chksum'
|
||||||
|
fi
|
||||||
./simple
|
./simple
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo 'PASS: simple'
|
||||||
|
else
|
||||||
|
echo 'FAIL: simple'
|
||||||
|
fi
|
||||||
./testmini
|
./testmini
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo 'PASS: testmini'
|
||||||
|
else
|
||||||
|
echo 'FAIL: testmini'
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue