summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-01-08 14:27:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-07 10:56:45 +0000
commit5b841026508b7f95a6f4fa10bc92cef3f58a9561 (patch)
treeddee4e5f7d6322f4c98bd84a884a1fd7280025af /meta/recipes-devtools
parentdd95222a3afd83305d096dab5d0b8012524b53f9 (diff)
downloadpoky-5b841026508b7f95a6f4fa10bc92cef3f58a9561.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: 559fd361440898479937c887a0e4f8cfb8c46891) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dbbce0918617c21d0e43e9727d38372c22dff3dc) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/perl/libmodule-build-perl/run-ptest2
-rw-r--r--meta/recipes-devtools/perl/libmodule-build-perl_0.4229.bb3
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"
36do_install_ptest() { 36do_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
42RDEPENDS_${PN} += " \ 45RDEPENDS_${PN} += " \