diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-07-09 12:21:37 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-09 12:21:37 +0300 |
commit | 7ba1626113a0d3b4f5df5e93bc0c4de72363d626 (patch) | |
tree | be9b513833632a4aeb402a5f97ad96b33b1bbe03 | |
parent | 241c8da50de2895637b5b41370fb75ee9df32955 (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.scm | 3 |
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 |