gnu: Add perl-test-requiresinternet.

* gnu/packages/perl-check.scm (perl-test-requiresinternet): New public
variable.
This commit is contained in:
Tobias Geerinckx-Rice 2017-12-20 17:17:02 +01:00
parent dacd8cf2e8
commit fa79a908bb
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 24 additions and 0 deletions

View File

@ -869,6 +869,30 @@ checks for pod coverage of all appropriate files.")
If this fails, then rather than failing tests this skips all tests.") If this fails, then rather than failing tests this skips all tests.")
(license perl-license))) (license perl-license)))
(define-public perl-test-requiresinternet
(package
(name "perl-test-requiresinternet")
(version "0.05")
(source
(origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/M/MA/MALLEN/Test-RequiresInternet-"
version
".tar.gz"))
(sha256
(base32
"0gl33vpj9bb78pzyijp884b66sbw6jkh1ci0xki8rmf03hmb79xv"))))
(build-system perl-build-system)
(home-page "http://search.cpan.org/dist/Test-RequiresInternet/")
(synopsis "Easily test network connectivity when running tests")
(description
"This Perl module is intended to easily test network connectivity to
non-local Internet resources before functional tests begin. If the sockets
cannot connect to the specified hosts and ports, the exception is caught and
reported, and the tests skipped.")
(license perl-license)))
(define-public perl-test-script (define-public perl-test-script
(package (package
(name "perl-test-script") (name "perl-test-script")