1*4882a593SmuzhiyunSUMMARY = "Skip tests when modules not available" 2*4882a593SmuzhiyunDESCRIPTION = "Skip test scripts if modules are not available. \ 3*4882a593SmuzhiyunThe requested modules will be loaded, and optionally have their versions \ 4*4882a593Smuzhiyunchecked. If the module is missing, the test script will be skipped. Modules \ 5*4882a593Smuzhiyunthat are found but fail to compile will exit with an error rather than skip." 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunHOMEPAGE = "https://metacpan.org/release/Test-Needs" 8*4882a593SmuzhiyunSECTION = "libs" 9*4882a593SmuzhiyunLICENSE = "Artistic-1.0 | GPL-1.0-or-later" 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunCPAN_NAME = "Test-Needs" 12*4882a593SmuzhiyunCPAN_AUTHOR = "HAARG" 13*4882a593Smuzhiyun 14*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://README;md5=3f3ccd21a0a48aa313db212cc3b1bc09;beginline=88;endline=89" 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunDEPENDS += "perl" 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunSRC_URI = "https://cpan.metacpan.org/authors/id/H/HA/${CPAN_AUTHOR}/${CPAN_NAME}-${PV}.tar.gz" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunSRC_URI[md5sum] = "5643cd323afb77d20363acbaf9b12bcc" 21*4882a593SmuzhiyunSRC_URI[sha256sum] = "571c21193ad16195df58b06b268798796a391b398c443271721d2cc0fb7c4ac3" 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunS = "${WORKDIR}/${CPAN_NAME}-${PV}" 24*4882a593Smuzhiyun 25*4882a593Smuzhiyuninherit cpan ptest-perl 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunRDEPENDS:${PN}-ptest += "perl-module-test-more perl-module-ipc-open3 perl-module-lib perl-module-version" 28*4882a593Smuzhiyun 29*4882a593SmuzhiyunBBCLASSEXTEND = "native" 30