summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authormingli.yu@windriver.com <mingli.yu@windriver.com>2016-08-03 17:22:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-10 10:46:31 +0100
commit07d9c3a41dc523ffc4146a92119c30f7cba0754d (patch)
treef1d6da7edea263116ceaa2152fa71768edf20cf5 /meta/recipes-support
parent9ec7cef3d079114c391161103cbd6a70ffba555a (diff)
downloadpoky-07d9c3a41dc523ffc4146a92119c30f7cba0754d.tar.gz
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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/lzo/lzo/run-ptest25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-support/lzo/lzo/run-ptest b/meta/recipes-support/lzo/lzo/run-ptest
index 2ea7745f70..6acb89fc1f 100644
--- a/meta/recipes-support/lzo/lzo/run-ptest
+++ b/meta/recipes-support/lzo/lzo/run-ptest
@@ -1,8 +1,33 @@
1#!/bin/sh 1#!/bin/sh
2 2
3./lzotest -mavail -n10 -q /etc/services 3./lzotest -mavail -n10 -q /etc/services
4if [ $? -eq 0 ]; then
5 echo 'PASS: lzotest'
6else
7 echo 'FAIL: lzotest'
8fi
4LZOTEST=./lzotest /bin/sh -e "./check.sh" "/etc" 9LZOTEST=./lzotest /bin/sh -e "./check.sh" "/etc"
5./align 10./align
11if [ $? -eq 0 ]; then
12 echo 'PASS: align'
13else
14 echo 'FAIL: align'
15fi
6./chksum 16./chksum
17if [ $? -eq 0 ]; then
18 echo 'PASS: chksum'
19else
20 echo 'FAIL: chksum'
21fi
7./simple 22./simple
23if [ $? -eq 0 ]; then
24 echo 'PASS: simple'
25else
26 echo 'FAIL: simple'
27fi
8./testmini 28./testmini
29if [ $? -eq 0 ]; then
30 echo 'PASS: testmini'
31else
32 echo 'FAIL: testmini'
33fi