summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2015-03-05 15:32:35 -0600
committerEric Bavier <bavier@member.fsf.org>2015-03-06 08:13:26 -0600
commitcb6d9b1b0420f9949fde2f9880b2dbbbdd51147f (patch)
tree45d7adb1b3549b579eec47d0067efdccb3e8f8b8
parentb7d9aa5945eff6b6a1a98ec338c0251291c508b4 (diff)
downloadguix-cb6d9b1b0420f9949fde2f9880b2dbbbdd51147f.tar.gz
gnu: Add Test-Requires.
* gnu/packages/perl.scm (perl-test-requires): New variable.
-rw-r--r--gnu/packages/perl.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index ac9059d1d9..662ea089af 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -637,6 +637,25 @@ as flexible as possible to the tester.")
                               "Test-Output-" version))
     (license (package-license perl))))
 
+(define-public perl-test-requires
+  (package
+    (name "perl-test-requires")
+    (version "0.08")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://cpan/authors/id/T/TO/TOKUHIROM/"
+                           "Test-Requires-" version ".tar.gz"))
+       (sha256
+        (base32
+         "08c29m0dn34384mmmpqqlbb899zpbkkc01c2lsp31mch1frv9cg7"))))
+    (build-system perl-build-system)
+    (home-page "http://search.cpan.org/dist/Test-Requires")
+    (synopsis "Checks to see if the module can be loaded")
+    (description "Test::Requires checks to see if the module can be loaded.
+If this fails, then rather than failing tests this skips all tests.")
+    (license (package-license perl))))
+
 (define-public perl-test-script
   (package
     (name "perl-test-script")