[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
134/169: gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all test
From: |
guix-commits |
Subject: |
134/169: gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all tests. |
Date: |
Thu, 26 Sep 2024 09:26:11 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit aba7981822013cc83fc32dde42863dfce1f9a44c
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Sep 22 12:57:48 2024 +0100
gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all tests.
* gnu/packages/golang-crypto.scm (go-github-com-shadowsocks-go-shadowsocks2)
[arguments]: <#:phases>: Use custom 'check phase.
Change-Id: Ia7efa74417d47a4679befd11ca3e76aaf0bc8c48
---
gnu/packages/golang-crypto.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 27ce64ca9a..1236ff38e3 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -1588,7 +1588,17 @@ wide-block encryption mode developed by Halevi and
Rogaway.")
(base32 "0n24h5ffgc3735y0mmp6dbhxdfm9fk13i26fqxxw7i75qnmvjvyg"))))
(build-system go-build-system)
(arguments
- `(#:import-path "github.com/shadowsocks/go-shadowsocks2"))
+ (list
+ #:import-path "github.com/shadowsocks/go-shadowsocks2"
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; XXX: Workaround for go-build-system's lack of Go modules
+ ;; support.
+ (replace 'check
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion (string-append "src/" import-path)
+ (invoke "go" "test" "-v" "./..."))))))))
(propagated-inputs
(list go-github-com-riobard-go-bloom
go-golang-org-x-crypto))
- 143/169: gnu: Remove go-github.com-smartystreets-gunit., (continued)
- 143/169: gnu: Remove go-github.com-smartystreets-gunit., guix-commits, 2024/09/26
- 153/169: gnu: go-github-com-operatorfoundation-shapeshifter-transports: Fix build., guix-commits, 2024/09/26
- 159/169: gnu: go-github-com-dustin-go-humanize: Move to golang-xyz., guix-commits, 2024/09/26
- 158/169: gnu: go-github-com-dustin-go-humanize: Update to 1.0.1., guix-commits, 2024/09/26
- 161/169: gnu: Add go-github-com-caarlos0-testfs., guix-commits, 2024/09/26
- 162/169: gnu: Add go-github-com-matryer-is., guix-commits, 2024/09/26
- 163/169: gnu: Add go-github-com-goreleaser-fileglob., guix-commits, 2024/09/26
- 164/169: gnu: go-github-com-tekwizely-go-parsing: Update to 0.0.0-20221001173913-aa6d6749ea2d., guix-commits, 2024/09/26
- 110/169: gnu: Add go-github-com-xlab-treeprint., guix-commits, 2024/09/26
- 124/169: gnu: go-github-com-matttproud-golang-protobuf-extensions-v2: Fix build., guix-commits, 2024/09/26
- 134/169: gnu: go-github-com-shadowsocks-go-shadowsocks2: Enable all tests.,
guix-commits <=
- 93/169: gnu: Add go-github-com-muesli-combinator., guix-commits, 2024/09/26
- 106/169: gnu: Add go-github-com-circonus-labs-go-apiclient., guix-commits, 2024/09/26
- 147/169: gnu: go-gopkg-in-natefinch-lumberjack.v2: Rename variable., guix-commits, 2024/09/26
- 157/169: gnu: packages/high-availability: Remove golang module., guix-commits, 2024/09/26
- 112/169: gnu: Add go-github-com-dgryski-go-ddmin., guix-commits, 2024/09/26
- 117/169: guix: Add copyright records., guix-commits, 2024/09/26
- 119/169: gnu: soju: Fix build., guix-commits, 2024/09/26
- 120/169: gnu: miniflux: Fix build., guix-commits, 2024/09/26
- 36/169: gnu: go-github-com-golang-groupcache: Fix indentation., guix-commits, 2024/09/26
- 94/169: gnu: chezmoi: Update to 1.8.10., guix-commits, 2024/09/26