| Message ID | 20251024175747.704498-6-skandigraun@gmail.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-perl,01/11] libcrypt-openssl-guess-perl: fix ptests | expand |
diff --git a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc index 751a22c708..e099910775 100644 --- a/meta-perl/conf/include/ptest-packagelists-meta-perl.inc +++ b/meta-perl/conf/include/ptest-packagelists-meta-perl.inc @@ -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 \ diff --git a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb index 03001de45e..7186d1a10f 100644 --- a/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb +++ b/meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb @@ -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 \ "
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> --- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- .../recipes-perl/libfile/libfile-slurper-perl_0.014.bb | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-)