[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55179] [WIP PATCH 08/30] gnu: perl6-tap-harness: Update to 0.3.5.
From: |
Paul A. Patience |
Subject: |
[bug#55179] [WIP PATCH 08/30] gnu: perl6-tap-harness: Update to 0.3.5. |
Date: |
Fri, 29 Apr 2022 05:17:52 +0000 |
* gnu/packages/perl6.scm (perl6-tap-harness): Update to 0.3.5.
[source]: Update URL. Reindent.
[arguments]: Replace obsolete prove6 script with manual Raku invocation
in 'check' phase.
[home-page]: Update.
[synopsis]: Replace mention of Perl with Raku.
* gnu/packages/rakudo-build-system.scm (check): Replace obsolete prove6
script with manual Raku invocation.
---
gnu/packages/perl6.scm | 25 ++++++++++++-------------
guix/build/rakudo-build-system.scm | 6 +++++-
2 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index 3dfdeec4f1..18acbdbbbd 100644
--- a/gnu/packages/perl6.scm
+++ b/gnu/packages/perl6.scm
@@ -680,17 +680,16 @@ (define-public perl6-svg-plot
(define-public perl6-tap-harness
(package
(name "perl6-tap-harness")
- (version "0.0.7")
+ (version "0.3.5")
(source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/perl6/tap-harness6")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1lig8i0my3fgqvlay9532xslbf3iis2d7wz89gniwvwqffi2kh6r"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Raku/tap-harness6")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "162crdy8g6xhnry26pjma2panm0c79n26igmljg79al4bqj9lyc9"))))
(build-system rakudo-build-system)
(arguments
'(#:with-zef? #f
@@ -699,9 +698,9 @@ (define-public perl6-tap-harness
(modify-phases %standard-phases
(replace 'check
(lambda _
- (invoke "perl6" "-Ilib" "bin/prove6" "-l" "t"))))))
- (home-page "https://github.com/perl6/tap-harness6/")
- (synopsis "TAP harness for perl6")
+ (invoke "raku" "-MTAP" "-Ilib" "-l" "t"))))))
+ (home-page "https://github.com/Raku/tap-harness6")
+ (synopsis "TAP harness for Raku")
(description "This module provides the @command{prove6} command which runs
a
TAP based test suite and prints a report. The @command{prove6} command is a
minimal wrapper around an instance of this module.")
diff --git a/guix/build/rakudo-build-system.scm
b/guix/build/rakudo-build-system.scm
index 642cc570d1..8f9a3b11d8 100644
--- a/guix/build/rakudo-build-system.scm
+++ b/guix/build/rakudo-build-system.scm
@@ -36,7 +36,11 @@ (define-module (guix build rakudo-build-system)
(define* (check #:key tests? inputs with-prove6? #:allow-other-keys)
(if (and tests? (assoc-ref inputs "perl6-tap-harness"))
;(if (and tests? with-prove6?)
- (invoke "prove6" "-I=lib" "t/")
+ (let ((test-files (find-files "t/" "\\.(rakutest|t|t6)$")))
+ (invoke "raku" "-MTAP" "-e"
+ (string-append
+ "my @tests = <" (string-join test-files " ") ">; "
+ "TAP::Harness.new().run(@tests);")))
(format #t "test suite not run~%"))
#t)
--
2.36.0
- [bug#55179] [WIP PATCH 05/30] gnu: Add nqp-configure., (continued)
- [bug#55179] [WIP PATCH 05/30] gnu: Add nqp-configure., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 04/30] gnu: moarvm: Update to 2022.04., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 07/30] gnu: rakudo: Update to 2022.04., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 10/30] gnu: perl6-terminal-ansicolor: Perl -> Raku., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 06/30] gnu: nqp: Update to 2022.04., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 11/30] gnu: perl6-grammar-debugger: Perl -> Raku., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 15/30] gnu: Add perl6-json-optin., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 19/30] gnu: perl6-json-class: Update to 0.0.18., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 16/30] gnu: perl6-json-name: Update to 0.0.6., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 09/30] gnu: perl6-zef: Update to 0.13.8., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 08/30] gnu: perl6-tap-harness: Update to 0.3.5.,
Paul A. Patience <=
- [bug#55179] [WIP PATCH 13/30] gnu: perl6-json: Perl -> Raku., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 17/30] gnu: perl6-json-marshal: Update to 0.0.23., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 12/30] gnu: perl6-grammar-profiler-simple: Perl -> Raku., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 18/30] gnu: perl6-json-unmarshal: Reindent., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 14/30] gnu: perl6-json-fast: Update to 0.17., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 22/30] gnu: perl6-mime-base64: Update to 1.2.3., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 20/30] gnu: perl6-license-spdx: Update to 3.16.0., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 26/30] gnu: perl6-svg-plot: Perl -> Raku., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 28/30] gnu: perl6-test-meta: Update to 0.0.17., Paul A. Patience, 2022/04/29
- [bug#55179] [WIP PATCH 29/30] gnu: perl6-test-mock: Update to 1.5-0.1130427., Paul A. Patience, 2022/04/29