sharlatan pushed a commit to branch master
in repository guix.

commit 97fee203a5441f4d3004ccf43ed72fa3b51a7cdc
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Feb 3 13:48:00 2025 +0000

    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
---
 gnu/packages/prometheus.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm
index e582673a0d..cbee1d859c 100644
--- a/gnu/packages/prometheus.scm
+++ b/gnu/packages/prometheus.scm
@@ -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

Reply via email to