1*4882a593Smuzhiyun# Copyright (C) 2020 Jens Rehsack <sno@netbsd.org> 2*4882a593Smuzhiyun# Released under the MIT license (see COPYING.MIT for the terms) 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunDESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \ 5*4882a593Smuzhiyunwarnings generated by your tests, combined with the convenience of \ 6*4882a593Smuzhiyun\\"done_testing\\" to not have to declare a test count, you'll have discovered \ 7*4882a593Smuzhiyunthat these two features do not play well together, as the test count will \ 8*4882a593Smuzhiyunbe calculated *before* the warnings test is run, resulting in a TAP error. \ 9*4882a593Smuzhiyun(See "examples/test_nowarnings.pl" in this distribution for a \ 10*4882a593Smuzhiyundemonstration.)" 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunSECTION = "libs" 13*4882a593SmuzhiyunLICENSE = "Artistic-1.0 | GPL-1.0-or-later" 14*4882a593Smuzhiyun 15*4882a593SmuzhiyunHOMEPAGE= "https://metacpan.org/release/Test-Warnings" 16*4882a593Smuzhiyun 17*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ 18*4882a593Smuzhiyunfile://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61" 19*4882a593Smuzhiyun 20*4882a593SmuzhiyunSRC_URI = "https://cpan.metacpan.org/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz" 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunSRC_URI[sha256sum] = "1e542909fef305e45563e9878ea1c3b0c7cef1b28bb7ae07eba2e1efabec477b" 23*4882a593Smuzhiyun 24*4882a593SmuzhiyunS = "${WORKDIR}/Test-Warnings-${PV}" 25*4882a593Smuzhiyun 26*4882a593Smuzhiyuninherit cpan ptest-perl 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk" 29