blob: 17b4cc3c9ee08783cb5e5f310083fc2dbcb6e0f7 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "Test::Warnings - Test for warnings and the lack of them"
2DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \
3warnings generated by your tests, combined with the convenience of \
4\\"done_testing\\" to not have to declare a test count, you'll have discovered \
5that these two features do not play well together, as the test count will \
6be calculated *before* the warnings test is run, resulting in a TAP error. \
7(See "examples/test_nowarnings.pl" in this distribution for a \
8demonstration.)"
9HOMEPAGE = "https://github.com/karenetheridge/Test-Warnings"
10BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings"
11SECTION = "libs"
Patrick Williamsf52e3dd2024-01-26 13:04:43 -060012LICENSE = "Artistic-1.0-Perl | GPL-1.0-or-later"
Andrew Geissler517393d2023-01-13 08:55:19 -060013
Patrick Williamsf52e3dd2024-01-26 13:04:43 -060014LIC_FILES_CHKSUM = "file://LICENCE;md5=f98106ac3cc05d9cbebcdb8fbf7b7815"
Andrew Geissler517393d2023-01-13 08:55:19 -060015
16SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz"
17
Patrick Williams73bd93f2024-02-20 08:07:48 -060018SRC_URI[sha256sum] = "b9c375719f2c61c5f97aa5ee6cf4c901a972347c415969379b0b51f67c48bbcb"
Andrew Geissler517393d2023-01-13 08:55:19 -060019
20S = "${WORKDIR}/Test-Warnings-${PV}"
21
22inherit cpan ptest-perl
23
24RDEPENDS:${PN} += "\
25 perl-module-test-builder \
26"
27
28# Many hidden dependencies and mysterious failures occur without full perl-modules
29RDEPENDS:${PN}-ptest += "perl-modules"
30
31do_install_ptest_perl:append () {
32 cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/
33 chown -R root:root ${D}${PTEST_PATH}/t/lib
34}
35
36BBCLASSEXTEND = "native nativesdk"