~ruther/guix-local

404ff118886f782b291bbe1909b2074766dd24c8 — Sharlatan Hellseher 1 year, 9 months ago 4a19fe4
gnu: go-github-com-prometheus-procfs: Disable tests on non x86_64 architecture.

As seen in CI <https://ci.guix.gnu.org/build/5475510/log/raw>.

* gnu/packages/prometheus.scm (go-github-com-prometheus-procfs): Disable
tests on non x86_64 architecture.

Change-Id: I5f8a4431110cd4b64a2310c2d0b8b0b789216e0d
1 files changed, 5 insertions(+), 0 deletions(-)

M gnu/packages/prometheus.scm
M gnu/packages/prometheus.scm => gnu/packages/prometheus.scm +5 -0
@@ 409,6 409,11 @@ from the default AWS credential chain.")
    (build-system go-build-system)
    (arguments
     (list
      ;; XXX: Check if the most of the tests may be enabled on non x86_64
      ;; architectures, disable for now: ./proc_stat_test.go:98:49: cannot use
      ;; math.MinInt64 (untyped int constant -9223372036854775808) as int
      ;; value in struct literal (overflows).
      #:tests? (target-x86-64?)
      #:import-path "github.com/prometheus/procfs"
      #:phases
      #~(modify-phases %standard-phases