aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 15:33:44 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:26 -0600
commitf59d9fc282251297db7c4bd1536a3f00f807ebe9 (patch)
treeb3850013bf14635eec465318e78c736b06edb163
parentcb6d9b1b0420f9949fde2f9880b2dbbbdd51147f (diff)
downloadguix-f59d9fc282251297db7c4bd1536a3f00f807ebe9.tar
guix-f59d9fc282251297db7c4bd1536a3f00f807ebe9.tar.gz
gnu: Add Test-Warnings.
* gnu/packages/perl.scm (perl-test-warnings): New variable.
-rw-r--r--gnu/packages/perl.scm22
1 files changed, 22 insertions, 0 deletions
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")