Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 1 | # Copyright (C) 2020 Jens Rehsack <sno@netbsd.org> |
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 3 | |
| 4 | DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \ |
| 5 | warnings generated by your tests, combined with the convenience of \ |
| 6 | \\"done_testing\\" to not have to declare a test count, you'll have discovered \ |
| 7 | that these two features do not play well together, as the test count will \ |
| 8 | be calculated *before* the warnings test is run, resulting in a TAP error. \ |
| 9 | (See "examples/test_nowarnings.pl" in this distribution for a \ |
| 10 | demonstration.)" |
| 11 | |
| 12 | SECTION = "libs" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame^] | 13 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 14 | |
| 15 | HOMEPAGE= "https://metacpan.org/release/Test-Warnings" |
| 16 | |
| 17 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 18 | file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 19 | |
| 20 | SRC_URI = "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz" |
| 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | SRC_URI[sha256sum] = "1e542909fef305e45563e9878ea1c3b0c7cef1b28bb7ae07eba2e1efabec477b" |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 23 | |
| 24 | S = "${WORKDIR}/Test-Warnings-${PV}" |
| 25 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 26 | inherit cpan ptest-perl |
Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 27 | |
| 28 | BBCLASSEXTEND = "native nativesdk" |