gnu: go-github-com-vishvananda-netlink: Keep tests only on x86_64.

* gnu/packages/linux.scm (go-github-com-vishvananda-netlink)
[arguments]: <#:tests?>: Run tests only on x86_64 architecture.

Change-Id: I15df89bd4d916e580fc82d650aefcb4cf050a20d
This commit is contained in:
Sharlatan Hellseher 2024-07-27 09:31:08 +01:00
parent 0508bb1f7d
commit 1dd90ea870
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5

View File

@ -9305,6 +9305,10 @@ management tools in userspace.")
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list (list
;; The tests are unsupported on all architectures except x86_64-linux:
;; cannot use 0xabcdef99 (untyped int constant 2882400153) as int value
;; in struct literal (overflows)
#:tests? (and (not (%current-target-system)) (target-x86-64?))
#:import-path "github.com/vishvananda/netlink" #:import-path "github.com/vishvananda/netlink"
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases