From f59d9fc282251297db7c4bd1536a3f00f807ebe9 Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 5 Mar 2015 15:33:44 -0600 Subject: [PATCH] gnu: Add Test-Warnings. * gnu/packages/perl.scm (perl-test-warnings): New variable. --- gnu/packages/perl.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 662ea089af..8ef4a3ab1b 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -720,6 +720,28 @@ a minimum of effort.") ;; "Under the same license as Perl itself" (license (package-license perl)))) +(define-public perl-test-warnings + (package + (name "perl-test-warnings") + (version "0.020") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/E/ET/ETHER/" + "Test-Warnings-" version ".tar.gz")) + (sha256 + (base32 + "1x262kybrdnbiiw53m1axp4zyh4lsfb9mm2shmpm8lwf7sp30isi")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Test-Warnings") + (synopsis "Test for warnings and the lack of them") + (description "This module is intended to be used as a drop-in replacement +for Test::NoWarnings. It also adds an extra test, but runs this test before +done_testing calculates the test count, rather than after. It does this by +hooking into done_testing as well as via an END block. You can declare a +plan, or not, and things will still Just Work.") + (license (package-license perl)))) + (define-public perl-try-tiny (package (name "perl-try-tiny")