[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/72: gnu: Add Test-Harness.
From: |
Eric Bavier |
Subject: |
32/72: gnu: Add Test-Harness. |
Date: |
Fri, 06 Mar 2015 14:13:00 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 9c7d97c47d9a238800aaa565228c001205f7d45d
Author: Eric Bavier <address@hidden>
Date: Thu Mar 5 16:07:11 2015 -0600
gnu: Add Test-Harness.
* gnu/packages/perl.scm (perl-test-harness): New variable.
---
gnu/packages/perl.scm | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 25a53c9..7bdb93b 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -943,6 +943,36 @@ Test::Exception. It does much less, but should allow
greater flexibility in
testing exception-throwing code with about the same amount of typing.")
(license (package-license perl))))
+(define-public perl-test-harness
+ (package
+ (name "perl-test-harness")
+ (version "3.35")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/L/LE/LEONT/"
+ "Test-Harness-" version ".tar.gz"))
+ (sha256
+ (base32
+ "06l29y1bpizb9vd9g49lgi0wzj1xy4rsk42ahdj3fpgqnvb9wp05"))))
+ (build-system perl-build-system)
+ (arguments
+ `(#:phases (alist-cons-before
+ 'check 'patch-test
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; This test looks for "#!/usr/bin/perl" in some source.
+ ;; Patch what the test looks for.
+ (substitute* "t/source.t"
+ (("#!/usr/bin/perl")
+ (string-append "#!" (assoc-ref inputs "perl")
+ "/bin/perl"))))
+ %standard-phases)))
+ (home-page "http://search.cpan.org/dist/Test-Harness")
+ (synopsis "Run Perl standard test scripts with statistics")
+ (description "Simple test harness which allows tests to be run and results
+automatically aggregated and output to STDOUT.")
+ (license (package-license perl))))
+
(define-public perl-test-nowarnings
(package
(name "perl-test-nowarnings")
- 45/72: gnu: Add Devel-Caller., (continued)
- 45/72: gnu: Add Devel-Caller., Eric Bavier, 2015/03/06
- 44/72: gnu: Add PadWalker., Eric Bavier, 2015/03/06
- 12/72: gnu: Add Dist-CheckConflicts., Eric Bavier, 2015/03/06
- 19/72: gnu: Add Sub-Exporter-Progressive., Eric Bavier, 2015/03/06
- 01/72: perl: Alphabetize module packages., Eric Bavier, 2015/03/06
- 23/72: gnu: Add Sub-Identify., Eric Bavier, 2015/03/06
- 09/72: gnu: Add Try-Tiny., Eric Bavier, 2015/03/06
- 34/72: gnu: Add Class-Load., Eric Bavier, 2015/03/06
- 13/72: gnu: Add Test-Requires., Eric Bavier, 2015/03/06
- 46/72: gnu: Add Devel-LexAlias., Eric Bavier, 2015/03/06
- 32/72: gnu: Add Test-Harness.,
Eric Bavier <=
- 17/72: gnu: Add Package-Stash-XS., Eric Bavier, 2015/03/06
- 41/72: gnu: Add Class-Tiny., Eric Bavier, 2015/03/06
- 33/72: gnu: Add Module-Build-Tiny., Eric Bavier, 2015/03/06
- 08/72: gnu: Add CPAN-Meta-Check., Eric Bavier, 2015/03/06
- 31/72: gnu: Add ExtUtils-Helpers., Eric Bavier, 2015/03/06
- 28/72: gnu: Add Test-CleanNamespaces., Eric Bavier, 2015/03/06
- 04/72: gnu: Add CPAN-Meta-Requirements., Eric Bavier, 2015/03/06
- 26/72: gnu: Add File-Find-Rule., Eric Bavier, 2015/03/06
- 27/72: gnu: Add File-Find-Rule-Perl., Eric Bavier, 2015/03/06
- 24/72: gnu: Add Text-Glob., Eric Bavier, 2015/03/06