gnu: go-github-com-go-playground-validator-v10: Limit tests to x86_64.

Limit tests to x86_64 architecture as they fail on others, see
<https://ci.guix.gnu.org/build/7801336/log/raw>.

* gnu/packages/golang-check.scm (go-github-com-go-playground-validator-v10)
[arguments] <tests?>: Only run on x86_64 system.

Change-Id: I0b07638cbfdf8a737ea2f040bcb0dd27bfede09a
This commit is contained in:
Sharlatan Hellseher 2024-12-30 16:22:56 +00:00
parent 06b409255b
commit 9623f6d92c
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -472,6 +472,11 @@ tests.")
(build-system go-build-system)
(arguments
(list
;; Tests on non-x86_64 architectures are not well supported upstream.
;;
;; Most of them fail with error like: Error:Field validation for
;; 'IsColor' failed on the 'iscolor' tag.
#:tests? (target-x86-64?)
#:import-path "github.com/go-playground/validator/v10"))
(native-inputs
(list go-github-com-go-playground-assert-v2))