Files
poky/meta/recipes-devtools/perl/libtest-needs-perl_0.002005.bb
Tim Orling 8a0727360d libtest-needs-perl: add 0.002005
Skip tests when modules not available

* Dependency for ptest of liburi-perl

(From OE-Core rev: 2735e7bfe20a31497a6b975c67ac689eccd5950e)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-06 06:19:18 -08:00

30 lines
986 B
BlitzBasic

SUMMARY = "Skip tests when modules not available"
DESCRIPTION = "Skip test scripts if modules are not available. \
The requested modules will be loaded, and optionally have their versions \
checked. If the module is missing, the test script will be skipped. Modules \
that are found but fail to compile will exit with an error rather than skip."
HOMEPAGE = "https://metacpan.org/release/Test-Needs"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0+"
CPAN_NAME = "Test-Needs"
CPAN_AUTHOR = "HAARG"
LIC_FILES_CHKSUM = "file://README;md5=3f3ccd21a0a48aa313db212cc3b1bc09;beginline=81;endline=82"
DEPENDS += "perl"
SRC_URI = "http://www.cpan.org/authors/id/H/HA/${CPAN_AUTHOR}/${CPAN_NAME}-${PV}.tar.gz"
SRC_URI[md5sum] = "356634a56c99282e8059f290f5d534c8"
SRC_URI[sha256sum] = "5a4f33983586edacdbe00a3b429a9834190140190dab28d0f873c394eb7df399"
S = "${WORKDIR}/${CPAN_NAME}-${PV}"
inherit cpan ptest-perl
RDEPENDS_${PN}-ptest += "perl-module-test-more"
BBCLASSEXTEND = "native"