diff options
author | Jens Rehsack <sno@netbsd.org> | 2020-01-02 14:31:02 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-02 09:48:20 -0800 |
commit | 7d7ad054e8210940e7292322208e5c294e516d40 (patch) | |
tree | 563cdc818aa8999b29be8c3ffb1d0cee0fedd57a /meta-perl | |
parent | c8574511157939f68fadfb3235f239dac596f4cb (diff) | |
download | meta-openembedded-7d7ad054e8210940e7292322208e5c294e516d40.tar.gz |
libtest-warnings-perl: add recipe
Add recipe for Test::Warnings modulem widely used by Kwalitee tests
is modern perl5 module distributions.
Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-perl')
-rw-r--r-- | meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.028.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.028.bb b/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.028.bb new file mode 100644 index 0000000000..b40a5456eb --- /dev/null +++ b/meta-perl/recipes-perl/libtest/libtest-warnings-perl_0.028.bb | |||
@@ -0,0 +1,29 @@ | |||
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" | ||
13 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
14 | |||
15 | HOMEPAGE= "https://metacpan.org/release/Test-Warnings" | ||
16 | |||
17 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ | ||
18 | file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d" | ||
19 | |||
20 | SRC_URI = "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz" | ||
21 | |||
22 | SRC_URI[md5sum] = "cd007342017fedfb02d6fde75602e473" | ||
23 | SRC_URI[sha256sum] = "26fda9f8d279e943d27e43a4a3a5cea8a6592cd36e7308695f8dc6602262c0e0" | ||
24 | |||
25 | S = "${WORKDIR}/Test-Warnings-${PV}" | ||
26 | |||
27 | inherit cpan allarch ptest-perl | ||
28 | |||
29 | BBCLASSEXTEND = "native nativesdk" | ||