mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +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:
parent
30d5e91276
commit
63c1a252f2
|
@ -6,8 +6,6 @@ for case in `find t -type f -name '*.t'`; do
|
|||
cat $case.output
|
||||
if [ $ret -ne 0 ]; then
|
||||
echo "FAIL: ${case%.t}"
|
||||
elif grep -i 'SKIP' $case.output; then
|
||||
echo "SKIP: ${case%.t}"
|
||||
else
|
||||
echo "PASS: ${case%.t}"
|
||||
fi
|
||||
|
|
|
@ -36,7 +36,10 @@ do_patch[postfuncs] += "do_patch_module_build"
|
|||
do_install_ptest() {
|
||||
cp -r ${B}/inc ${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}
|
||||
sed -i -e "s,'perl' => .*,'perl' => '/usr/bin/perl'\,,g" ${D}${PTEST_PATH}/_build/build_params
|
||||
}
|
||||
|
||||
RDEPENDS_${PN} += " \
|
||||
|
|
Loading…
Reference in New Issue
Block a user