diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-01-08 14:27:59 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-10 21:18:22 +0000 |
commit | 63c1a252f23c5d6bb8a560bf918ac40332cb2f29 (patch) | |
tree | 50fea375e7bd3a863f288ea18c60284ac7b039d6 | |
parent | 30d5e91276a37dbecfaaabbf416ca975e49334c8 (diff) | |
download | poky-63c1a252f23c5d6bb8a560bf918ac40332cb2f29.tar.gz |
libmodule-build-perl: fix ptests
Particularly remove a broken detection of skipped tests
(which was marking tests that actually passed), and install
additional artefacts needed for testing.
(From OE-Core rev: dbbce0918617c21d0e43e9727d38372c22dff3dc)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/perl/libmodule-build-perl/run-ptest | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest b/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest index 0d63d1513b..d802781f9e 100644 --- a/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest +++ b/meta/recipes-devtools/perl/libmodule-build-perl/run-ptest | |||
@@ -6,8 +6,6 @@ for case in `find t -type f -name '*.t'`; do | |||
6 | cat $case.output | 6 | cat $case.output |
7 | if [ $ret -ne 0 ]; then | 7 | if [ $ret -ne 0 ]; then |
8 | echo "FAIL: ${case%.t}" | 8 | echo "FAIL: ${case%.t}" |
9 | elif grep -i 'SKIP' $case.output; then | ||
10 | echo "SKIP: ${case%.t}" | ||
11 | else | 9 | else |
12 | echo "PASS: ${case%.t}" | 10 | echo "PASS: ${case%.t}" |
13 | fi | 11 | fi |
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb index f759f862fb..e3ba40d96c 100644 --- a/meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb +++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb | |||
@@ -36,7 +36,10 @@ do_patch[postfuncs] += "do_patch_module_build" | |||
36 | do_install_ptest() { | 36 | do_install_ptest() { |
37 | cp -r ${B}/inc ${D}${PTEST_PATH} | 37 | cp -r ${B}/inc ${D}${PTEST_PATH} |
38 | cp -r ${B}/blib ${D}${PTEST_PATH} | 38 | cp -r ${B}/blib ${D}${PTEST_PATH} |
39 | cp -r ${B}/_build ${D}${PTEST_PATH} | ||
40 | cp -r ${B}/lib ${D}${PTEST_PATH} | ||
39 | chown -R root:root ${D}${PTEST_PATH} | 41 | chown -R root:root ${D}${PTEST_PATH} |
42 | sed -i -e "s,'perl' => .*,'perl' => '/usr/bin/perl'\,,g" ${D}${PTEST_PATH}/_build/build_params | ||
40 | } | 43 | } |
41 | 44 | ||
42 | RDEPENDS_${PN} += " \ | 45 | RDEPENDS_${PN} += " \ |