[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/88: gnu: go-github-com-spf13-afero: Run all tests.
From: |
guix-commits |
Subject: |
13/88: gnu: go-github-com-spf13-afero: Run all tests. |
Date: |
Fri, 6 Dec 2024 16:17:19 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 988d5dd0a3c4f32f518621425eeee5f9a8347ae0
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 24 11:14:38 2024 +0000
gnu: go-github-com-spf13-afero: Run all tests.
* gnu/packages/golang-xyz.scm (go-github-com-spf13-afero): Enable all
tests from subdirectories.
[arguments]<phases>: Use custom 'check.
Change-Id: Iada2f737c19c6fe18038da56c316717e6e0ce3ac
---
gnu/packages/golang-xyz.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-xyz.scm b/gnu/packages/golang-xyz.scm
index aec4bbc54c..f4e9538ad7 100644
--- a/gnu/packages/golang-xyz.scm
+++ b/gnu/packages/golang-xyz.scm
@@ -7223,7 +7223,15 @@ Use waterutil with it to work with TUN/TAP
packets/frames.")
(build-system go-build-system)
(arguments
(list
- #:import-path "github.com/spf13/afero"))
+ #:import-path "github.com/spf13/afero"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: Replace when go-build-system supports nested path.
+ (replace 'check
+ (lambda* (#:key import-path tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion (string-append "src/" import-path)
+ (invoke "go" "test" "-v" "./..."))))))))
(propagated-inputs
(list go-github-com-pkg-sftp
go-golang-org-x-text))
- 19/88: gnu: go-github-com-nxadm-tail: Update to 1.4.11., (continued)
- 19/88: gnu: go-github-com-nxadm-tail: Update to 1.4.11., guix-commits, 2024/12/06
- 22/88: gnu: go-github-com-twpayne-go-vfs: Move to golang-xyz., guix-commits, 2024/12/06
- 32/88: gnu: packages/textutils: Remove golang module., guix-commits, 2024/12/06
- 30/88: gnu: go-github-com-olekukonko-tablewriter: Move to golang-xyz., guix-commits, 2024/12/06
- 42/88: gnu: go-github-com-aki237-nscjar: Move to golang-web., guix-commits, 2024/12/06
- 07/88: gnu: go-github-com-cyphar-filepath-securejoin: Update to 0.3.4., guix-commits, 2024/12/06
- 11/88: gnu: go-github-com-spf13-viper: Update to 1.8.1., guix-commits, 2024/12/06
- 08/88: gnu: go-github-com-spf13-afero: Update to 1.6.0., guix-commits, 2024/12/06
- 02/88: gnu: Remove go-github-com-dustin-gojson., guix-commits, 2024/12/06
- 04/88: gnu: go-github-com-go-md2man: Update to 2.0.5., guix-commits, 2024/12/06
- 13/88: gnu: go-github-com-spf13-afero: Run all tests.,
guix-commits <=
- 50/88: gnu: go-github-com-gdamore-tcell-v2: Simplify package., guix-commits, 2024/12/06
- 63/88: gnu: packages/linux: Remove golang-build module., guix-commits, 2024/12/06
- 37/88: gnu: go-github-com-xdg-go-scram: Update to 1.1.2., guix-commits, 2024/12/06
- 43/88: gnu: go-github-com-alsm-ioprogress: Update to 0.0.0-20170412085706-063c3725f436., guix-commits, 2024/12/06
- 59/88: gnu: go-github-com-vishvananda-netlink: Move to golang-web., guix-commits, 2024/12/06
- 65/88: gnu: go-gopkg-in-check-v1: Disable tests., guix-commits, 2024/12/06
- 69/88: gnu: Add go-go-abhg-dev-requiredfield., guix-commits, 2024/12/06
- 75/88: gnu: Add go-github-com-sebdah-goldie-v2., guix-commits, 2024/12/06
- 80/88: gnu: go-github-com-charmbracelet-x-exp-golden: Sort., guix-commits, 2024/12/06
- 16/88: gnu: go-github-com-spf13-jwalterweatherman: Improve description., guix-commits, 2024/12/06