[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/40: gnu: Add Test-Trap.
From: |
Eric Bavier |
Subject: |
17/40: gnu: Add Test-Trap. |
Date: |
Thu, 12 Mar 2015 20:56:01 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 0c190411d8129b2ebe60611f603c3b9ba77639b7
Author: Eric Bavier <address@hidden>
Date: Thu Mar 12 11:40:01 2015 -0500
gnu: Add Test-Trap.
* gnu/packages/perl.scm (perl-test-trap): New variable.
---
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 8be6964..a9359a7 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -2341,6 +2341,30 @@ a minimum of effort.")
;; "Under the same license as Perl itself"
(license (package-license perl))))
+(define-public perl-test-trap
+ (package
+ (name "perl-test-trap")
+ (version "v0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/EB/EBHANSSEN/"
+ "Test-Trap-" version ".tar.gz"))
+ (sha256
+ (base32
+ "05b4zc4087imwphls4yksg4chzx9yavbri301gaxas9kv1yhx13w"))))
+ (build-system perl-build-system)
+ (propagated-inputs
+ `(("perl-test-tester" ,perl-test-tester)
+ ("perl-data-dump" ,perl-data-dump)))
+ (home-page "http://search.cpan.org/dist/Test-Trap")
+ (synopsis "Trap exit codes, exceptions, output, etc.")
+ (description "This module is primarily (but not exclusively) for use in
+test scripts: A block eval configurable and extensible but by default trapping
+STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values
+from boxed blocks of test code.")
+ (license (package-license perl))))
+
(define-public perl-test-warn
(package
(name "perl-test-warn")
- 04/40: gnu: Add CGI-Simple., (continued)
- 04/40: gnu: Add CGI-Simple., Eric Bavier, 2015/03/12
- 05/40: gnu: Add CGI-Struct., Eric Bavier, 2015/03/12
- 07/40: gnu: Add Class-Date., Eric Bavier, 2015/03/12
- 06/40: gnu: Add Class-C3-Adopt-NEXT., Eric Bavier, 2015/03/12
- 08/40: gnu: Add Data-Dump., Eric Bavier, 2015/03/12
- 09/40: gnu: Add base., Eric Bavier, 2015/03/12
- 11/40: gnu: Add HTTP-Request-AsCGI., Eric Bavier, 2015/03/12
- 12/40: gnu: Add common-sense., Eric Bavier, 2015/03/12
- 13/40: gnu: Add Cpanel-JSON-XS., Eric Bavier, 2015/03/12
- 15/40: gnu: Add JSON-MaybeXS., Eric Bavier, 2015/03/12
- 17/40: gnu: Add Test-Trap.,
Eric Bavier <=
- 19/40: gnu: Add Getopt-Long-Descriptive., Eric Bavier, 2015/03/12
- 18/40: gnu: Add Params-Validate., Eric Bavier, 2015/03/12
- 20/40: gnu: Add aliased., Eric Bavier, 2015/03/12
- 21/40: gnu: Add namespace-autoclean., Eric Bavier, 2015/03/12
- 14/40: gnu: Add Test-Without-Module., Eric Bavier, 2015/03/12
- 10/40: gnu: Add Class-Accessor., Eric Bavier, 2015/03/12
- 22/40: gnu: Add MooseX-Role-WithOverloading., Eric Bavier, 2015/03/12
- 23/40: gnu: Add MooseX-Role-Parameterized., Eric Bavier, 2015/03/12
- 16/40: gnu: Add MooseX-Emulate-Class-Accessor-Fast., Eric Bavier, 2015/03/12
- 25/40: gnu: Add Carp-Clan., Eric Bavier, 2015/03/12