diff options
-rw-r--r-- | gnu/packages/high-availability.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/high-availability.scm b/gnu/packages/high-availability.scm index e4920cb3d7..eccdb3594e 100644 --- a/gnu/packages/high-availability.scm +++ b/gnu/packages/high-availability.scm @@ -223,7 +223,9 @@ applications.") (when tests? (setenv "HOME" "/tmp") (with-directory-excursion (string-append "src/" import-path) - (invoke #$@(if (target-x86?) + ;; go test: -race is only supported on linux/amd64, + ;; linux/ppc64le, linux/arm64 + (invoke #$@(if (not target-x86-32?) (list "go" "test" "-v" "-race" "./...") (list "go" "test" "-v" "./..."))))))) (replace 'install |