diff options
author | mingli.yu@windriver.com <mingli.yu@windriver.com> | 2016-08-03 17:22:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-10 10:46:31 +0100 |
commit | 07d9c3a41dc523ffc4146a92119c30f7cba0754d (patch) | |
tree | f1d6da7edea263116ceaa2152fa71768edf20cf5 /meta/recipes-support | |
parent | 9ec7cef3d079114c391161103cbd6a70ffba555a (diff) | |
download | poky-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-ptest | 25 |
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 |
4 | if [ $? -eq 0 ]; then | ||
5 | echo 'PASS: lzotest' | ||
6 | else | ||
7 | echo 'FAIL: lzotest' | ||
8 | fi | ||
4 | LZOTEST=./lzotest /bin/sh -e "./check.sh" "/etc" | 9 | LZOTEST=./lzotest /bin/sh -e "./check.sh" "/etc" |
5 | ./align | 10 | ./align |
11 | if [ $? -eq 0 ]; then | ||
12 | echo 'PASS: align' | ||
13 | else | ||
14 | echo 'FAIL: align' | ||
15 | fi | ||
6 | ./chksum | 16 | ./chksum |
17 | if [ $? -eq 0 ]; then | ||
18 | echo 'PASS: chksum' | ||
19 | else | ||
20 | echo 'FAIL: chksum' | ||
21 | fi | ||
7 | ./simple | 22 | ./simple |
23 | if [ $? -eq 0 ]; then | ||
24 | echo 'PASS: simple' | ||
25 | else | ||
26 | echo 'FAIL: simple' | ||
27 | fi | ||
8 | ./testmini | 28 | ./testmini |
29 | if [ $? -eq 0 ]; then | ||
30 | echo 'PASS: testmini' | ||
31 | else | ||
32 | echo 'FAIL: testmini' | ||
33 | fi | ||