sharlatan pushed a commit to branch go-team
in repository guix.
commit 930bd773a59cb115e840a9cc0ea10d837905ed50
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Mar 28 23:42:54 2025 +0000
gnu: go-go-opencensus-io: Enable all tests.
* gnu/packages/golang-web.scm (go-go-opencensus-io)
[arguments] <go>: Use go-1.22.
<test-subdirs>: Run all available tests.
[propagated-inputs]: Add go-google-golang-org-grpc.
Change-Id: If8d93c3b2911139b36ece7c5e00def160e2be5ab
---
gnu/packages/golang-web.scm | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 452b74a709..4f8c669d6b 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -9736,6 +9736,7 @@ lists)
(build-system go-build-system)
(arguments
(list
+ #:go go-1.22
#:import-path "go.opencensus.io"
#:test-flags
#~(list "-skip"
@@ -9744,20 +9745,6 @@ lists)
(list "TestAgainstSpecs/Successful_GET_call_to_https.*"
"TestAgainstSpecs/Successfully_POST_call_to_https.*")
"|"))
- #:test-subdirs
- #~(list "exporter/..."
- "internal"
- ;; "internal/testpb/..." ; missing packages
- "metric/..."
- ;; "plugin/ocgrpc/..." ; missing packages
- "plugin/ochttp/..."
- "plugin/runmetrics/..."
- "resource/..."
- "stats/..."
- "tag"
- "trace/..."
- ;; "zpages" ; missing packages
- "zpages/internal/...")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'remove-examples
@@ -9770,7 +9757,7 @@ lists)
go-github-com-google-go-cmp
go-github-com-stretchr-testify
go-golang-org-x-net
- #; go-google-golang-org-grpc)) ; not packaged, long journey
+ go-google-golang-org-grpc))
(home-page "https://opencensus.io/")
(synopsis "Stats collection and distributed tracing framework")
(description