[Top][All Lists]

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

02/04: gnu: Add Test::NoWarnings.

From: Ludovic Courtès
Subject: 02/04: gnu: Add Test::NoWarnings.
Date: Tue, 16 Dec 2014 23:11:33 +0000

civodul pushed a commit to branch master
in repository guix.

commit 9dc8a1577fdb35b0d94cc50154d83a63899adc21
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Dec 16 12:15:23 2014 +0100

    gnu: Add Test::NoWarnings.
    * gnu/packages/perl.scm (perl-test-nowarnings): New variable.
    Signed-off-by: Ludovic Courtès <address@hidden>
 gnu/packages/perl.scm |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index a1cf2c1..c8011f5 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -253,6 +253,30 @@ Perlish API and none of the bloat and rarely used features 
of IPC::Run.")
     ;; licenses, any version."
     (license (list bsd-3 gpl3+))))
+(define-public perl-test-nowarnings
+  (package
+    (name "perl-test-nowarnings")
+    (version "1.04")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cpan/authors/id/A/AD/ADAMK/"
+                                  "Test-NoWarnings-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0v385ch0hzz9naqwdw2az3zdqi15gka76pmiwlgsy6diiijmg2k3"))))
+    (build-system perl-build-system)
+    (inputs `(("perl-test-tester" ,perl-test-tester)))
+    (synopsis "Ensure no warnings are produced while testing")
+    (description
+     "This modules causes any warnings during testing 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 warings, the
+test will fail and output diagnostics of where, when and what the warning was,
+including a stack trace of what was going on when it occurred.")
+    (home-page (string-append "";
+                              "Test-NoWarnings-" version))
+    (license lgpl2.1)))
 (define-public perl-test-script
     (name "perl-test-script")

reply via email to

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