summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-07-09 12:21:37 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-09 12:21:37 +0300
commit7ba1626113a0d3b4f5df5e93bc0c4de72363d626 (patch)
treebe9b513833632a4aeb402a5f97ad96b33b1bbe03
parent241c8da50de2895637b5b41370fb75ee9df32955 (diff)
gnu: libx86emu: Skip tests on non-x86 systems.
* gnu/packages/virtualization.scm (libx86emu)[arguments]: Skip tests when not building on an x86 system.
-rw-r--r--gnu/packages/virtualization.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index c88fd31146..9c91374f95 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -620,6 +620,9 @@ server and embedded PowerPC, and S390 guests.")
(build-system gnu-build-system)
(arguments
`(#:test-target "test"
+ ;; sys/io.h is not present from glibc on non-x86 systems.
+ #:tests? ,(and (target-x86?)
+ (not (%current-target-system)))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch