gnu: libx86emu: Skip tests on non-x86 systems.

* gnu/packages/virtualization.scm (libx86emu)[arguments]: Skip tests
when not building on an x86 system.
This commit is contained in:
Efraim Flashner 2023-07-09 12:21:37 +03:00
parent 241c8da50d
commit 7ba1626113
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -620,6 +620,9 @@ (define-public libx86emu
(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