diff options
author | Ed Tanous <ed.tanous@intel.com> | 2019-07-31 20:59:18 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2019-07-31 20:59:18 +0300 |
commit | b4f66bacb1b8e661d794fa7a189e2f66f5092e2e (patch) | |
tree | 5a8302cd349fdb68dadca003483c61917d4a6add /meta-openembedded/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb | |
parent | 43a183cc0926da36e3a218efa02ab4838ace316f (diff) | |
parent | dd755025e33af27b059ea7ef3afbe850e4880b08 (diff) | |
download | openbmc-b4f66bacb1b8e661d794fa7a189e2f66f5092e2e.tar.xz |
Merge branch 'master' of ssh://git-amr-1.devtools.intel.com:29418/openbmc-openbmc into intel
Diffstat (limited to 'meta-openembedded/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb')
-rw-r--r-- | meta-openembedded/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta-openembedded/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb b/meta-openembedded/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb new file mode 100644 index 000000000..44a915c5b --- /dev/null +++ b/meta-openembedded/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb @@ -0,0 +1,56 @@ +SUMMARY = "Test::Deep - Extremely flexible deep comparison" +DESCRIPTION = "If you don't know anything about automated testing in Perl \ +then you should probably read about Test::Simple and Test::More before \ +preceding. Test::Deep uses the Test::Builder framework. \ +\ +Test::Deep gives you very flexible ways to check that the result you got is \ +the result you were expecting. At its simplest it compares two structures \ +by going through each level, ensuring that the values match, that arrays and \ +hashes have the same elements and that references are blessed into the \ +correct class. It also handles circular data structures without getting \ +caught in an infinite loop. \ +\ +Where it becomes more interesting is in allowing you to do something besides \ +simple exact comparisons. With strings, the \'eq\' operator checks that 2 \ +strings are exactly equal but sometimes that's not what you want. When you \ +don't know exactly what the string should be but you do know some things \ +about how it should look, \'eq\' is no good and you must use pattern matching \ +instead. Test::Deep provides pattern matching for complex data structures \ +distribution." + +SECTION = "libs" + +HOMEPAGE = "http://github.com/rjbs/Test-Deep/" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://lib/Test/Deep.pm;beginline=1817;endline=1826;md5=aebc793c87a3d8771fe98d5d369898e7" + +SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Deep-${PV}.tar.gz" +SRC_URI[md5sum] = "9bc47147ea720fc01bc6b214afb884ff" +SRC_URI[sha256sum] = "852d7e836fba8269b0b755082051a24a1a309d015a8b76838790af9e3760092f" + +UPSTREAM_CHECK_REGEX = "Test\-Deep\-(?P<pver>(\d+\.\d+))(?!_\d+).tar" + +S = "${WORKDIR}/Test-Deep-${PV}" + +inherit cpan ptest-perl + +RDEPENDS_${PN} += " \ + perl-module-dynaloader \ + perl-module-exporter \ + perl-module-fcntl \ + perl-module-list-util \ + perl-module-scalar-util \ + perl-module-strict \ + perl-module-vars \ + perl-module-warnings \ +" + +RDEPENDS_${PN}-ptest += " \ + perl-module-if \ + perl-module-lib \ + perl-module-test-more \ + perl-module-test-tester \ +" + +BBCLASSEXTEND = "native" |