# HG changeset patch # User Hans-G?nter Theisgen # Date 1641114321 -3600 # Node ID 0fff78d6404b6a9db1753b493af6ce901bfffdca # Parent fb93ed2f2940477a5c863ac5e48dda4f4bb6d06c updated perl-test-nowarnings (1.04 -> 1.06) diff -r fb93ed2f2940 -r 0fff78d6404b perl-test-nowarnings/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-test-nowarnings/description.txt Sun Jan 02 10:05:21 2022 +0100 @@ -0,0 +1,14 @@ +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 warnings, 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. diff -r fb93ed2f2940 -r 0fff78d6404b perl-test-nowarnings/receipt --- a/perl-test-nowarnings/receipt Sun Jan 02 10:02:41 2022 +0100 +++ b/perl-test-nowarnings/receipt Sun Jan 02 10:05:21 2022 +0100 @@ -1,18 +1,19 @@ # SliTaz package receipt. PACKAGE="perl-test-nowarnings" -VERSION="1.04" +VERSION="1.06" CATEGORY="development" SHORT_DESC="Make sure you don't emit any warning while testing" MAINTAINER="slaxemulator@gmail.com" -LICENSE="LGPL2.1" -WEB_SITE="https://metacpan.org/release/Test-NoWarnings" +LICENSE="GPL" +WEB_SITE="https://metacpan.org/pod/Test::NoWarnings" + SOURCE="Test-NoWarnings" TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="https://metacpan.org/CPAN/authors/id/A/AD/ADAMK/$TARBALL" +WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL" -DEPENDS="perl-test-tester" -BUILD_DEPENDS="perl-test-tester" +DEPENDS="perl perl-test-tester" +BUILD_DEPENDS="perl perl-test-tester" current_version() { @@ -23,7 +24,6 @@ # Rules to configure and make the package. compile_rules() { - cd $src perl Makefile.PL && make && make DESTDIR=$DESTDIR install @@ -32,5 +32,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs + cook_copy_folders lib }