[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 06:43:18 -0400 (EDT) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit dfe244700b3c0de51985595beb74127d498e8485
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))
- 91/169: gnu: Add go-github-com-rs-xid., (continued)
- 91/169: gnu: Add go-github-com-rs-xid., guix-commits, 2024/09/26
- 103/169: gnu: Add go-github-com-openhistogram-circonusllhist., guix-commits, 2024/09/26
- 113/169: gnu: Add go-github-com-pquerna-ffjson., guix-commits, 2024/09/26
- 115/169: gnu: Add go-github-com-tinylib-msgp., guix-commits, 2024/09/26
- 43/169: gnu: go-github-com-prometheus-statsd-exporter: Fix build., guix-commits, 2024/09/26
- 65/169: gnu: go-github-com-google-goterm: Update to 0.0.0-20200907032337-555d40f16ae2., guix-commits, 2024/09/26
- 67/169: gnu: go-github-com-google-goterm: Move to golang-xyz., guix-commits, 2024/09/26
- 85/169: gnu: go-github-com-go-git-go-billy: Update to 5.5.0., guix-commits, 2024/09/26
- 86/169: gnu: go-github-com-go-git-go-billy: Rename variable., 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 <=
- 130/169: gnu: Add go-github-com-aead-ecdh., guix-commits, 2024/09/26
- 140/169: gnu: Add go-github-com-smarty-gunit., guix-commits, 2024/09/26
- 154/169: gnu: Add go-github-com-pkg-browser., guix-commits, 2024/09/26
- 138/169: gnu: go-github.com-smartystreets-goconvey: Rename variable., guix-commits, 2024/09/26
- 153/169: gnu: go-github-com-operatorfoundation-shapeshifter-transports: Fix build., guix-commits, 2024/09/26
- 147/169: gnu: go-gopkg-in-natefinch-lumberjack.v2: Rename variable., 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