[oe-commits] [meta-openembedded] 09/88: libtest-nowarnings-perl: add recipe for 1.04

git at git.openembedded.org git at git.openembedded.org
Wed Jul 10 03:57:07 UTC 2019

This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit f787c388f6e3f6aa880ead6caebd55ed95280101
Author: Tim Orling <timothy.t.orling at linux.intel.com>
AuthorDate: Thu Jun 27 21:52:19 2019 -0700

    libtest-nowarnings-perl: add recipe for 1.04
    * Ensures that no warnings are emitted during tests
    * ptest dependency for libdbd-sqlite-perl
    Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
 .../libtest/libtest-nowarnings-perl_1.04.bb        | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb b/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb
new file mode 100644
index 0000000..f3c28d3
--- /dev/null
+++ b/meta-perl/recipes-perl/libtest/libtest-nowarnings-perl_1.04.bb
@@ -0,0 +1,37 @@
+SUMMARY = "Make sure you didn't emit any warnings while testing"
+DESCRIPTION = "In general, your tests shouldn't produce warnings. This \
+modules causes any warnings to be captured and stored. It automatically \
+adds an extra test that will run when your script ends to check that there \
+were no warnings. If there were any warings, the test will give a \\"not ok\\" \
+and diagnostics of where, when and what the warning was, including a stack \
+trace of what was going on when the it occurred.\
+If some of your tests are supposed to produce warnings then you should \
+be capturing and checking them with Test::Warn, that way \
+Test::NoWarnings will not see them and so not complain.\
+The test is run by an \\"END\\" block in Test::NoWarnings. It will not be \
+run when any forked children exit."
+SECTION = "libs"
+HOMEPAGE= "https://metacpan.org/release/Test-NoWarnings"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d8045f3b8f929c1cb29a1e3fd737b499"
+CPAN_PACKAGE = "Test-NoWarnings"
+SRC_URI = "${CPAN_MIRROR}/authors/id/A/AD/${CPAN_AUTHOR}/${CPAN_PACKAGE}-${PV}.tar.gz"
+SRC_URI[md5sum] = "682ed043f7d3e38f3dfd8745fd21c49a"
+SRC_URI[sha256sum] = "638a57658cb119af1fe5b15e73d47c2544dcfef84af0c6b1b2e97f08202b686c"
+RDEPENDS_${PN} += "perl-module-test-builder perl-module-test-more perl-module-test-tester"
+inherit cpan ptest-perl
+BBCLASSEXTEND = "native nativesdk"

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list