libfile-slurper-perl: fix ptests

Add missing dependencies, and install lib/File in ptest folder, because it
is considered as test data, accessed by the tests.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2025-10-24 19:57:42 +02:00 committed by Khem Raj
parent 61553f8931
commit 87c16bd907
2 changed files with 9 additions and 1 deletions

View File

@ -20,6 +20,7 @@ PTESTS_FAST_META_PERL = "\
liberror-perl \
libextutils-config-perl \
libextutils-installpaths-perl \
libfile-slurper-perl \
libhtml-tagset-perl \
libmozilla-ca-perl \
libnet-ldap-perl \
@ -35,7 +36,6 @@ PTESTS_SLOW_META_PERL = "\
PTESTS_PROBLEMS_META_PERL = "\
libconfig-autoconf-perl \
libfile-slurper-perl \
libhtml-parser-perl \
libmime-types-perl \
libmodule-build-tiny-perl \

View File

@ -24,7 +24,15 @@ RDEPENDS:${PN} = " \
perl-module-warnings \
"
do_install_ptest:append(){
install -d ${D}${PTEST_PATH}/lib
touch ${D}${PTEST_PATH}/lib/File
}
RDEPENDS:${PN}-ptest += "libtest-warnings-perl \
perl-module-encode-encoding \
perl-module-file-spec-functions \
perl-module-findbin \
perl-module-test-more \
"