~ruther/guix-local

97fee203a5441f4d3004ccf43ed72fa3b51a7cdc — Sharlatan Hellseher 1 year, 1 month ago 5b9fa4a
gnu: go-github-com-prometheus-client-golang: Skip one more test.

* gnu/packages/prometheus.scm (go-github-com-prometheus-client-golang)
[arguments] <test-flags>: Skip one more test on non x86_64 systems.

Change-Id: Iac1f98a355b595a40fa61c5c4f479f8c11343d9b
1 files changed, 8 insertions(+), 2 deletions(-)

M gnu/packages/prometheus.scm
M gnu/packages/prometheus.scm => gnu/packages/prometheus.scm +8 -2
@@ 158,8 158,14 @@ registry.")
      ;; (untyped int constant) as int value in map literal (overflows)
      #:tests? (target-64bit?)
      #:import-path "github.com/prometheus/client_golang"
      ;; Assertion fails in one test.
      #:test-flags #~(list "-skip" "TestHandler")
      #:test-flags
      #~(list "-skip" (string-append
                       ;; Test fails with Assertion error.
                       "TestHandler"
                       ;; Test fails on aarch64-linux system.
                       #$@(if (not (target-x86-64?))
                              '("|TestProcessCollector")
                              '())))
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'remove-examples-and-tutorials