~ruther/guix-local

cf4e7b48bd190e39132ff00af67f8bca971dcf06 — Sharlatan Hellseher 5 months ago 4b0ad81
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
1 files changed, 21 insertions(+), 3 deletions(-)

M gnu/packages/golang-web.scm
M gnu/packages/golang-web.scm => gnu/packages/golang-web.scm +21 -3
@@ 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