From 58fe3dab440c54f4893d7b151e468013285eb5fc Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 1 Feb 2024 12:20:01 +0800 Subject: libtest-warnings-perl: upgrade 0.032 -> 0.033 Changelog: ============ - add Test2 compatibility in the test triggered by done_testing(); - new long-awaited feature (!!!) "allow_patterns", to either temporarily or globally exempt particular warning patterns (From OE-Core rev: ed3940f403ea4b9b2d875595953863dd28d94b8b) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- .../perl/libtest-warnings-perl_0.032.bb | 36 ---------------------- .../perl/libtest-warnings-perl_0.033.bb | 36 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 36 deletions(-) delete mode 100644 meta/recipes-devtools/perl/libtest-warnings-perl_0.032.bb create mode 100644 meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/perl/libtest-warnings-perl_0.032.bb b/meta/recipes-devtools/perl/libtest-warnings-perl_0.032.bb deleted file mode 100644 index 5876e8a63c..0000000000 --- a/meta/recipes-devtools/perl/libtest-warnings-perl_0.032.bb +++ /dev/null @@ -1,36 +0,0 @@ -SUMMARY = "Test::Warnings - Test for warnings and the lack of them" -DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \ -warnings generated by your tests, combined with the convenience of \ -\\"done_testing\\" to not have to declare a test count, you'll have discovered \ -that these two features do not play well together, as the test count will \ -be calculated *before* the warnings test is run, resulting in a TAP error. \ -(See "examples/test_nowarnings.pl" in this distribution for a \ -demonstration.)" -HOMEPAGE = "https://github.com/karenetheridge/Test-Warnings" -BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings" -SECTION = "libs" -LICENSE = "Artistic-1.0-Perl | GPL-1.0-or-later" - -LIC_FILES_CHKSUM = "file://LICENCE;md5=f98106ac3cc05d9cbebcdb8fbf7b7815" - -SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz" - -SRC_URI[sha256sum] = "4727dae2416e9f07e41e2dc3a9143ba6affc1ec57652117c99d50038e313e9d9" - -S = "${WORKDIR}/Test-Warnings-${PV}" - -inherit cpan ptest-perl - -RDEPENDS:${PN} += "\ - perl-module-test-builder \ -" - -# Many hidden dependencies and mysterious failures occur without full perl-modules -RDEPENDS:${PN}-ptest += "perl-modules" - -do_install_ptest_perl:append () { - cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/ - chown -R root:root ${D}${PTEST_PATH}/t/lib -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb b/meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb new file mode 100644 index 0000000000..17b4cc3c9e --- /dev/null +++ b/meta/recipes-devtools/perl/libtest-warnings-perl_0.033.bb @@ -0,0 +1,36 @@ +SUMMARY = "Test::Warnings - Test for warnings and the lack of them" +DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \ +warnings generated by your tests, combined with the convenience of \ +\\"done_testing\\" to not have to declare a test count, you'll have discovered \ +that these two features do not play well together, as the test count will \ +be calculated *before* the warnings test is run, resulting in a TAP error. \ +(See "examples/test_nowarnings.pl" in this distribution for a \ +demonstration.)" +HOMEPAGE = "https://github.com/karenetheridge/Test-Warnings" +BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings" +SECTION = "libs" +LICENSE = "Artistic-1.0-Perl | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://LICENCE;md5=f98106ac3cc05d9cbebcdb8fbf7b7815" + +SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz" + +SRC_URI[sha256sum] = "b9c375719f2c61c5f97aa5ee6cf4c901a972347c415969379b0b51f67c48bbcb" + +S = "${WORKDIR}/Test-Warnings-${PV}" + +inherit cpan ptest-perl + +RDEPENDS:${PN} += "\ + perl-module-test-builder \ +" + +# Many hidden dependencies and mysterious failures occur without full perl-modules +RDEPENDS:${PN}-ptest += "perl-modules" + +do_install_ptest_perl:append () { + cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/ + chown -R root:root ${D}${PTEST_PATH}/t/lib +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf