gnu: go-go-opencensus-io: Reduce amount of tests.

* gnu/packages/golang-web.scm (go-go-opencensus-io)[arguments]
<test-subdirs>: Some tests are not no longer compatible  with
go-golang-org-x-* libraries, keep some portion of them.

Change-Id: I169fa68db74f19022feb3367ccecb386b1724e85
This commit is contained in:
Sharlatan Hellseher 2025-10-10 14:36:13 +01:00
parent 4b0ad81334
commit cf4e7b48bd
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -12230,6 +12230,8 @@ lists)
@end itemize")
(license license:mpl2.0)))
;; XXX: This project was archived by the owner on Jul 31, 2023. It is now
;; read-only. Consider to remove when nothing depends on it.
(define-public go-go-opencensus-io
(package
(name "go-go-opencensus-io")
@ -12238,16 +12240,32 @@ lists)
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/census-instrumentation/opencensus-go")
(commit (string-append "v" version))))
(url "https://github.com/census-instrumentation/opencensus-go")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1923j8v214fyk9qlw0lfva6ah8p7s8cfkrysiada5pp4jim4k4xi"))))
(build-system go-build-system)
(arguments
(list
#:go go-1.23
#:import-path "go.opencensus.io"
#:test-subdirs
#~(list "exporter/stackdriver/propagation"
"internal"
"metric"
"metric/metricexport"
"metric/metricproducer"
"metric/test"
"plugin/ochttp/propagation/b3"
"plugin/ochttp/propagation/tracecontext"
"plugin/runmetrics"
"resource"
"stats"
"stats/view"
"tag"
"trace"
"trace/propagation"
"trace/tracestate")
#:test-flags
#~(list "-skip"
(string-join