sharlatan pushed a commit to branch go-team
in repository guix.
commit eb78e75628920fce4d83788a90470ab2a928816d
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Feb 21 23:02:26 2025 +0000
gnu: go-github-com-operatorfoundation-monolith-go: Enable tests.
* gnu/packages/golang.scm (go-github-com-operatorfoundation-monolith-go)
[arguments] <skip-build?>: No go files in project's root.
<unpack-path>: Remove it.
<import-path>: Adjust accordingly to expected go.mod path.
<tests?>: Enable them.
<test-flags>: Skip 3 failing tests.
Change-Id: I5d22cccd6670abd48329c74ad34e35694d38e754
---
gnu/packages/golang.scm | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 37454f4279..08149c54bf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1224,9 +1224,15 @@ networks where it would otherwise be blocked or heavily
throttled.")
(base32 "0zzamnrakjvz9frxscyhrvyz2ikqq2klmynn218jk5dar6mc6xyf"))))
(build-system go-build-system)
(arguments
- `(#:tests? #f ; ERROR: Generated bytes do not match correct answer.
- #:unpack-path "github.com/OperatorFoundation/monolith-go"
- #:import-path "github.com/OperatorFoundation/monolith-go/monolith"))
+ (list
+ #:skip-build? #t
+ #:import-path "github.com/OperatorFoundation/monolith-go"
+ #:test-flags
+ #~(list "-skip" (string-join
+ (list "TestEnumeratedItems"
+ "TestOptional2"
+ "TestVariableStringsPart")
+ "|"))))
(propagated-inputs
(list go-github-com-deckarep-golang-set))
(home-page "https://github.com/OperatorFoundation/monolith-go")