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