From cb6d9b1b0420f9949fde2f9880b2dbbbdd51147f Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Thu, 5 Mar 2015 15:32:35 -0600 Subject: gnu: Add Test-Requires. * gnu/packages/perl.scm (perl-test-requires): New variable. --- gnu/packages/perl.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu') 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") -- cgit 1.4.1