diff options
author | Yongxin Liu <yongxin.liu@windriver.com> | 2019-07-08 14:39:00 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-07-10 09:24:33 -0700 |
commit | 415e213ad75ec9a93171c963395a1c4b92c6233b (patch) | |
tree | 96228c88058c0bbd1c3fc441a21e13c24d8143be /files/keyutils-test-fix-output-format.patch | |
parent | 64d8fc68a6134ab06a9e625645a849f95cbe1059 (diff) | |
download | meta-openembedded-415e213ad75ec9a93171c963395a1c4b92c6233b.tar.gz |
keyutils: move recipe and patches from meta-security to meta-oe
keyutils is originally in https://git.yoctoproject.org/git/meta-security.
Move it to meta-oe since other recipes in OE depend on it.
Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'files/keyutils-test-fix-output-format.patch')
-rw-r--r-- | files/keyutils-test-fix-output-format.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/files/keyutils-test-fix-output-format.patch b/files/keyutils-test-fix-output-format.patch deleted file mode 100644 index a4ffd50ce5..0000000000 --- a/files/keyutils-test-fix-output-format.patch +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | From 49b6321368e4bd3cd233d045cd09004ddd7968b2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jackie Huang <jackie.huang@windriver.com> | ||
3 | Date: Mon, 15 May 2017 14:52:00 +0800 | ||
4 | Subject: [PATCH] keyutils: fix output format | ||
5 | |||
6 | keyutils ptest output format is incorrect, according to yocto | ||
7 | Development Manual | ||
8 | (http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#testing-packages-with-ptest) | ||
9 | 5.10.6. Testing Packages With ptestThe test generates output in the format used by Automake: | ||
10 | <result>: <testname> | ||
11 | where the result can be PASS, FAIL, or SKIP, and the testname can be any | ||
12 | identifying string. | ||
13 | So we should change the test result format to match yocto ptest rules. | ||
14 | |||
15 | Upstream-Status: Inappropriate [OE ptest specific] | ||
16 | |||
17 | Signed-off-by: Li Wang <li.wang@windriver.com> | ||
18 | Signed-off-by: Jackie Huang <jackie.huang@windriver.com> | ||
19 | --- | ||
20 | tests/runtest.sh | 5 +++++ | ||
21 | 1 file changed, 5 insertions(+) | ||
22 | |||
23 | diff --git a/tests/runtest.sh b/tests/runtest.sh | ||
24 | index b6eaa7c..84263fb 100644 | ||
25 | --- a/tests/runtest.sh | ||
26 | +++ b/tests/runtest.sh | ||
27 | @@ -21,6 +21,11 @@ for i in ${TESTS}; do | ||
28 | echo "### RUNNING TEST $i" | ||
29 | if [[ $AUTOMATED != 0 ]] ; then | ||
30 | bash ./runtest.sh | ||
31 | + if [ $? != 0 ]; then | ||
32 | + echo "FAIL: $i" | ||
33 | + else | ||
34 | + echo "PASS: $i" | ||
35 | + fi | ||
36 | else | ||
37 | bash ./runtest.sh || exit 1 | ||
38 | fi | ||
39 | -- | ||
40 | 2.11.0 | ||
41 | |||