mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 21:49:33 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
30d5e91276
commit
63c1a252f2
@@ -6,8 +6,6 @@ for case in `find t -type f -name '*.t'`; do
|
|||||||
cat $case.output
|
cat $case.output
|
||||||
if [ $ret -ne 0 ]; then
|
if [ $ret -ne 0 ]; then
|
||||||
echo "FAIL: ${case%.t}"
|
echo "FAIL: ${case%.t}"
|
||||||
elif grep -i 'SKIP' $case.output; then
|
|
||||||
echo "SKIP: ${case%.t}"
|
|
||||||
else
|
else
|
||||||
echo "PASS: ${case%.t}"
|
echo "PASS: ${case%.t}"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -36,7 +36,10 @@ do_patch[postfuncs] += "do_patch_module_build"
|
|||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
cp -r ${B}/inc ${D}${PTEST_PATH}
|
cp -r ${B}/inc ${D}${PTEST_PATH}
|
||||||
cp -r ${B}/blib ${D}${PTEST_PATH}
|
cp -r ${B}/blib ${D}${PTEST_PATH}
|
||||||
|
cp -r ${B}/_build ${D}${PTEST_PATH}
|
||||||
|
cp -r ${B}/lib ${D}${PTEST_PATH}
|
||||||
chown -R root:root ${D}${PTEST_PATH}
|
chown -R root:root ${D}${PTEST_PATH}
|
||||||
|
sed -i -e "s,'perl' => .*,'perl' => '/usr/bin/perl'\,,g" ${D}${PTEST_PATH}/_build/build_params
|
||||||
}
|
}
|
||||||
|
|
||||||
RDEPENDS_${PN} += " \
|
RDEPENDS_${PN} += " \
|
||||||
|
|||||||
Reference in New Issue
Block a user