From cf4e7b48bd190e39132ff00af67f8bca971dcf06 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Fri, 10 Oct 2025 14:36:13 +0100 Subject: [PATCH] gnu: go-go-opencensus-io: Reduce amount of tests. * gnu/packages/golang-web.scm (go-go-opencensus-io)[arguments] : Some tests are not no longer compatible with go-golang-org-x-* libraries, keep some portion of them. Change-Id: I169fa68db74f19022feb3367ccecb386b1724e85 --- gnu/packages/golang-web.scm | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm index a51c558c56387f3b8a8a5b363053836939a772fb..c7c71144762ca974e49b59bacf02b83d112d7221 100644 --- a/gnu/packages/golang-web.scm +++ b/gnu/packages/golang-web.scm @@ -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