guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/72: gnu: Add Test-Warnings.


From: Eric Bavier
Subject: 14/72: gnu: Add Test-Warnings.
Date: Fri, 06 Mar 2015 14:12:53 +0000

bavier pushed a commit to branch master
in repository guix.

commit f59d9fc282251297db7c4bd1536a3f00f807ebe9
Author: Eric Bavier <address@hidden>
Date:   Thu Mar 5 15:33:44 2015 -0600

    gnu: Add Test-Warnings.
    
    * gnu/packages/perl.scm (perl-test-warnings): New variable.
---
 gnu/packages/perl.scm |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 662ea08..8ef4a3a 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]