guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: go-github-com-rcrowley-go-metrics: Skip tests on aarch64-lin


From: guix-commits
Subject: 01/03: gnu: go-github-com-rcrowley-go-metrics: Skip tests on aarch64-linux.
Date: Tue, 23 Jun 2020 13:23:51 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 87e1a1979b2bc0fbcd6187483d5e380e3f52d8f5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jun 23 18:56:52 2020 +0300

    gnu: go-github-com-rcrowley-go-metrics: Skip tests on aarch64-linux.
    
    * gnu/packages/syncthing.scm (go-github-com-rcrowley-go-metrics)
    [arguments]: Skip tests when building on or for aarch64-linux.
---
 gnu/packages/syncthing.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/syncthing.scm b/gnu/packages/syncthing.scm
index 99bdd77..dfc2220 100644
--- a/gnu/packages/syncthing.scm
+++ b/gnu/packages/syncthing.scm
@@ -531,7 +531,11 @@ higher-level API for doing so.")
                   "1hfxffnpaw49pr3wrkbzq3pnv3nyzsvk5dxndv0yz70xlrbg8a04"))))
       (build-system go-build-system)
       (arguments
-       `(#:import-path "github.com/rcrowley/go-metrics"))
+       ;; Arbitrary precision tests are known to be broken on aarch64, ppc64le
+       ;; and s390x. See: https://github.com/rcrowley/go-metrics/issues/249
+       `(#:tests? ,(not (string-prefix? "aarch64" (or (%current-target-system)
+                                                      (%current-system))))
+         #:import-path "github.com/rcrowley/go-metrics"))
       (propagated-inputs
        `(("go-github-com-stathat-go" ,go-github-com-stathat-go)))
       (synopsis "Go port of Coda Hale's Metrics library")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]