[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
27/45: gnu: go-github-com-99designs-keyring: Simplify.
From: |
guix-commits |
Subject: |
27/45: gnu: go-github-com-99designs-keyring: Simplify. |
Date: |
Sat, 11 Jan 2025 18:19:12 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit 0092693b99871b938c2a8ac8088176777e9221b9
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Jan 11 15:23:11 2025 +0000
gnu: go-github-com-99designs-keyring: Simplify.
* gnu/packages/golang-crypto.scm (go-github-com-99designs-keyring)
[arguments] <test-flags>: Move skip tests logic here.
<phases>: Remove 'disable-failing-tests.
Change-Id: I69dc7a85963632c430bfc0f54caacaa371675bcd
---
gnu/packages/golang-crypto.scm | 28 +++++++++-------------------
1 file changed, 9 insertions(+), 19 deletions(-)
diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 0326382c25..b5340bc7a7 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -198,25 +198,15 @@ primitives.")
(arguments
(list
#:import-path "github.com/99designs/keyring"
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'unpack 'disable-failing-tests
- (lambda* (#:key tests? unpack-path #:allow-other-keys)
- (with-directory-excursion (string-append "src/" unpack-path)
- (substitute* (find-files "." "\\_test.go$")
- ;; Disable test requring running DBus.
- (("TestLibSecretKeysWhenEmpty")
- "OffTestLibSecretKeysWhenEmpty")
- (("TestLibSecretKeysWhenNotEmpty")
- "OffTestLibSecretKeysWhenNotEmpty")
- (("TestLibSecretGetWhenEmpty")
- "OffTestLibSecretGetWhenEmpty")
- (("TestLibSecretGetWhenNotEmpty")
- "OffTestLibSecretGetWhenNotEmpty")
- (("TestLibSecretRemoveWhenEmpty")
- "OffTestLibSecretRemoveWhenEmpty")
- (("TestLibSecretRemoveWhenNotEmpty")
- "OffTestLibSecretRemoveWhenNotEmpty"))))))))
+ #:test-flags
+ #~(list "-skip" (string-join
+ (list "TestLibSecretKeysWhenEmpty"
+ "TestLibSecretKeysWhenNotEmpty"
+ "TestLibSecretGetWhenEmpty"
+ "TestLibSecretGetWhenNotEmpty"
+ "TestLibSecretRemoveWhenEmpty"
+ "TestLibSecretRemoveWhenNotEmpty")
+ "|"))))
(native-inputs
(list gnupg go-github-com-stretchr-testify password-store))
(propagated-inputs
- 22/45: gnu: Add go-github-com-klauspost-asmfmt., (continued)
- 22/45: gnu: Add go-github-com-klauspost-asmfmt., guix-commits, 2025/01/11
- 25/45: gnu: Add go-github-com-xtgo-uuid., guix-commits, 2025/01/11
- 32/45: gnu: Add go-github-com-txthinking-runnergroup., guix-commits, 2025/01/11
- 31/45: gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-geoip., guix-commits, 2025/01/11
- 41/45: gnu: go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-webtunnel: Update to 0.0.0-20240711104640-e64b1b3562f3., guix-commits, 2025/01/11
- 43/45: gnu: go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird: Update to 0.5.0., guix-commits, 2025/01/11
- 28/45: gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-ptutil., guix-commits, 2025/01/11
- 29/45: gnu: go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib: Update to 1.6.0., guix-commits, 2025/01/11
- 18/45: gnu: go-github-com-go-ini-ini: Move to golang-xyz., guix-commits, 2025/01/11
- 26/45: gnu: go-filippo-io-edwards25519: Update to 1.1.0., guix-commits, 2025/01/11
- 27/45: gnu: go-github-com-99designs-keyring: Simplify.,
guix-commits <=
- 33/45: gnu: Add go-github-com-patrickmn-go-cache., guix-commits, 2025/01/11
- 13/45: gnu: go-github-com-lunixbochs-vtclean: Move to golang-xyz., guix-commits, 2025/01/11
- 14/45: gnu: go-github-com-golang-freetype: Update to 0.0.0-20170609003504-e2365dfdc4a0., guix-commits, 2025/01/11
- 23/45: gnu: Add go-github-com-templexxx-cpu., guix-commits, 2025/01/11
- 24/45: gnu: Add go-github-com-templexxx-xorsimd., guix-commits, 2025/01/11
- 30/45: gnu: go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib: Move to golang-web., guix-commits, 2025/01/11
- 34/45: gnu: Add go-github-com-txthinking-socks5., guix-commits, 2025/01/11
- 37/45: gnu: Add go-github-com-aws-aws-sdk-go-v2-service-sqs., guix-commits, 2025/01/11
- 38/45: gnu: Add go-github-com-tjfoc-gmsm., guix-commits, 2025/01/11
- 40/45: gnu: Add go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-snowflake-v2., guix-commits, 2025/01/11