libcrypt-openssl-guess-perl: fix ptests
PATCH 1/11 libcrypt-openssl-guess-perl: fix ptests
Add missing dependency.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- .../recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -9,6 +9,7 @@ PTESTS_FAST_META_PERL = "\ libauthen-sasl-perl \ libcapture-tiny-perl \ + libcrypt-openssl-guess-perl \ libcrypt-openssl-random-perl \ libcgi-perl \ libdigest-hmac-perl \
@@ -30,7 +31,6 @@ PTESTS_SLOW_META_PERL = "\ PTESTS_PROBLEMS_META_PERL = "\ libconfig-autoconf-perl \ - libcrypt-openssl-guess-perl \ libcrypt-openssl-rsa-perl \ libdata-hexdump-perl \ libdbd-sqlite-perl \
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.15.bb +1 -0
@@ -34,4 +34,5 @@ PROVIDES += "libcrypt-openssl-guess" RDEPENDS:${PN}-ptest += "\ perl-module-test-more \ + perl-module-english \ "
PATCH 2/11 libcrypt-openssl-rsa-perl: fix ptests
Add missing dependencies.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- .../recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.35.bb | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -11,6 +11,7 @@ PTESTS_FAST_META_PERL = "\ libcapture-tiny-perl \ libcrypt-openssl-guess-perl \ libcrypt-openssl-random-perl \ + libcrypt-openssl-rsa-perl \ libcgi-perl \ libdigest-hmac-perl \ liberror-perl \
@@ -31,7 +32,6 @@ PTESTS_SLOW_META_PERL = "\ PTESTS_PROBLEMS_META_PERL = "\ libconfig-autoconf-perl \ - libcrypt-openssl-rsa-perl \ libdata-hexdump-perl \ libdbd-sqlite-perl \ libdigest-sha1-perl \
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.35.bb +4 -2
@@ -31,9 +31,11 @@ do_compile() { cpan_do_compile } -RDEPENDS:${PN}-ptest = " \ - ${PN} \ +RDEPENDS:${PN}-ptest += " \ perl-module-file-copy \ perl-module-test \ perl-module-test-more \ + perl-module-lib \ + libcrypt-openssl-guess-perl \ + perl-module-english \ "
PATCH 3/11 libdata-hexdump-perl: fix ptests
In reply to Gyorgy SarvariAdd missing dependencies.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -13,6 +13,7 @@ PTESTS_FAST_META_PERL = "\ libcrypt-openssl-random-perl \ libcrypt-openssl-rsa-perl \ libcgi-perl \ + libdata-hexdump-perl \ libdigest-hmac-perl \ liberror-perl \ libextutils-config-perl \
@@ -32,7 +33,6 @@ PTESTS_SLOW_META_PERL = "\ PTESTS_PROBLEMS_META_PERL = "\ libconfig-autoconf-perl \ - libdata-hexdump-perl \ libdbd-sqlite-perl \ libdigest-sha1-perl \ libfile-slurper-perl \
meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb +2 -0
@@ -29,6 +29,8 @@ do_install_ptest () { install -m 0755 ${B}/t/* ${D}${PTEST_PATH}/t } +RDEPENDS:${PN}-ptest += "perl-module-exporter perl-module-carp perl-module-filehandle" + BBCLASSEXTEND = "native" ALTERNATIVES_PRIORITY = "100"
PATCH 4/11 libdbd-sqlite-perl: fix ptests
In reply to Gyorgy SarvariAdd missing dependencies and install missing files for testing.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.76.bb | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -14,6 +14,7 @@ PTESTS_FAST_META_PERL = "\ libcrypt-openssl-rsa-perl \ libcgi-perl \ libdata-hexdump-perl \ + libdbd-sqlite-perl \ libdigest-hmac-perl \ liberror-perl \ libextutils-config-perl \
@@ -33,7 +34,6 @@ PTESTS_SLOW_META_PERL = "\ PTESTS_PROBLEMS_META_PERL = "\ libconfig-autoconf-perl \ - libdbd-sqlite-perl \ libdigest-sha1-perl \ libfile-slurper-perl \ libhtml-parser-perl \
meta-perl/recipes-perl/libdb/libdbd-sqlite-perl_1.76.bb +7 -0
@@ -40,10 +40,17 @@ do_install:append() { do_install_ptest() { cp -r ${B}/MANIFEST ${D}${PTEST_PATH} chown -R root:root ${D}${PTEST_PATH} + + # the t/virtual_table/11_filcontent_fulltext tests load these files directly + cp -r ${S}/lib ${D}${PTEST_PATH} + cp -r ${S}/inc ${D}${PTEST_PATH} } RDEPENDS:${PN}-ptest += " \ libtest-nowarnings-perl \ + perl-module-digest-md5 \ + perl-module-encode-encoding \ + perl-module-if \ perl-module-lib \ perl-module-encode \ perl-module-file-spec \
PATCH 5/11 libdigest-sha1-perl: fix ptests
In reply to Gyorgy SarvariAdd missing dependencies.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -16,6 +16,7 @@ PTESTS_FAST_META_PERL = "\ libdata-hexdump-perl \ libdbd-sqlite-perl \ libdigest-hmac-perl \ + libdigest-sha1-perl \ liberror-perl \ libextutils-config-perl \ libextutils-installpaths-perl \
@@ -34,7 +35,6 @@ PTESTS_SLOW_META_PERL = "\ PTESTS_PROBLEMS_META_PERL = "\ libconfig-autoconf-perl \ - libdigest-sha1-perl \ libfile-slurper-perl \ libhtml-parser-perl \ libmime-types-perl \
meta-perl/recipes-perl/libdigest/libdigest-sha1-perl_2.13.bb +1 -0
@@ -19,6 +19,7 @@ do_install_ptest () { cp -r ${B}/t ${D}${PTEST_PATH} } +RDEPENDS:${PN}-ptest += "perl-module-dynaloader perl-module-exporter perl-module-test" BBCLASSEXTEND = "native" FILES:${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/Digest/SHA1/.debug/"
PATCH 6/11 libfile-slurper-perl: fix ptests
In reply to Gyorgy SarvariAdd missing dependencies, and install lib/File in ptest folder, because it is considered as test data, accessed by the tests.
--- 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(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -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 \
meta-perl/recipes-perl/libfile/libfile-slurper-perl_0.014.bb +8 -0
@@ -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 \ "
PATCH 7/11 libmime-types-perl: fix ptests
In reply to Gyorgy SarvariAdd missing runtime dependency.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- meta-perl/recipes-perl/libmime/libmime-types-perl_2.29.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -22,6 +22,7 @@ PTESTS_FAST_META_PERL = "\ libextutils-installpaths-perl \ libfile-slurper-perl \ libhtml-tagset-perl \ + libmime-types-perl \ libmozilla-ca-perl \ libnet-ldap-perl \ libstrictures-perl \
@@ -37,7 +38,6 @@ PTESTS_SLOW_META_PERL = "\ PTESTS_PROBLEMS_META_PERL = "\ libconfig-autoconf-perl \ libhtml-parser-perl \ - libmime-types-perl \ libmodule-build-tiny-perl \ libnet-dns-perl \ libnet-dns-sec-perl \
meta-perl/recipes-perl/libmime/libmime-types-perl_2.29.bb +1 -0
@@ -35,6 +35,7 @@ RDEPENDS:${PN} = "\ " RDEPENDS:${PN}-ptest = "\ + libmime-types-perl \ perl-module-lib \ perl-module-test-more \ "
PATCH 8/11 libsub-uplevel-perl: fix ptests
In reply to Gyorgy SarvariAdd missing dependency.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -26,6 +26,7 @@ PTESTS_FAST_META_PERL = "\ libmozilla-ca-perl \ libnet-ldap-perl \ libstrictures-perl \ + libsub-uplevel-perl \ libterm-readkey-perl \ libtest-nowarnings-perl \ libtext-diff-perl \
@@ -42,7 +43,6 @@ PTESTS_PROBLEMS_META_PERL = "\ libnet-dns-perl \ libnet-dns-sec-perl \ libnet-ssleay-perl \ - libsub-uplevel-perl \ libtest-deep-perl \ libtest-harness-perl \ libtest-warn-perl \
meta-perl/recipes-perl/libsub/libsub-uplevel-perl_0.2800.bb +1 -0
@@ -34,6 +34,7 @@ RDEPENDS:${PN}-ptest += " \ perl-module-cpan \ perl-module-exporter \ perl-module-extutils-makemaker \ + perl-module-extutils-mm-unix \ perl-module-file-spec \ perl-module-lib \ perl-module-test-more \
PATCH 9/11 libtest-deep-perl: fix ptests
In reply to Gyorgy SarvariAdd missing dependency.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- meta-perl/recipes-perl/libtest/libtest-deep-perl_1.205.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -28,6 +28,7 @@ PTESTS_FAST_META_PERL = "\ libstrictures-perl \ libsub-uplevel-perl \ libterm-readkey-perl \ + libtest-deep-perl \ libtest-nowarnings-perl \ libtext-diff-perl \ "
@@ -43,7 +44,6 @@ PTESTS_PROBLEMS_META_PERL = "\ libnet-dns-perl \ libnet-dns-sec-perl \ libnet-ssleay-perl \ - libtest-deep-perl \ libtest-harness-perl \ libtest-warn-perl \ libunicode-linebreak-perl \
meta-perl/recipes-perl/libtest/libtest-deep-perl_1.205.bb +1 -0
@@ -46,6 +46,7 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ + perl-module-extutils-mm-unix \ perl-module-if \ perl-module-lib \ perl-module-test-more \
PATCH 10/11 libtest-warn-perl: fix ptests
In reply to Gyorgy SarvariAdd missing runtime dependencies.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- meta-perl/recipes-perl/libtest/libtest-warn-perl_0.37.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -30,6 +30,7 @@ PTESTS_FAST_META_PERL = "\ libterm-readkey-perl \ libtest-deep-perl \ libtest-nowarnings-perl \ + libtest-warn-perl \ libtext-diff-perl \ "
@@ -45,7 +46,6 @@ PTESTS_PROBLEMS_META_PERL = "\ libnet-dns-sec-perl \ libnet-ssleay-perl \ libtest-harness-perl \ - libtest-warn-perl \ libunicode-linebreak-perl \ libunix-statgrab \ liburi-perl \
meta-perl/recipes-perl/libtest/libtest-warn-perl_0.37.bb +1 -0
@@ -39,6 +39,7 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ perl-module-file-spec \ + perl-module-test \ perl-module-test-more \ "
PATCH 11/11 libunicode-linebreak-perl: fix ptests
In reply to Gyorgy SarvariAdd missing dependencies.
--- meta-perl/conf/include/ptest-packagelists-meta-perl.inc | 2 +- .../libunicode/libunicode-linebreak-perl_2019.001.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
meta-perl/conf/include/ptest-packagelists-meta-perl.inc +1 -1
@@ -32,6 +32,7 @@ PTESTS_FAST_META_PERL = "\ libtest-nowarnings-perl \ libtest-warn-perl \ libtext-diff-perl \ + libunicode-linebreak-perl \ " PTESTS_SLOW_META_PERL = "\
@@ -46,7 +47,6 @@ PTESTS_PROBLEMS_META_PERL = "\ libnet-dns-sec-perl \ libnet-ssleay-perl \ libtest-harness-perl \ - libunicode-linebreak-perl \ libunix-statgrab \ liburi-perl \ libxml-libxml-perl \
meta-perl/recipes-perl/libunicode/libunicode-linebreak-perl_2019.001.bb +1 -0
@@ -40,6 +40,7 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ + perl-module-encode-encoding \ perl-module-findbin \ perl-module-lib \ perl-module-strict \