diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-08-23 12:29:36 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-02-16 12:45:18 +0200 |
commit | 0f87f2e69d5edf5e9b596867b1189cc994c642d5 (patch) | |
tree | 8bd741812e0321bb6c085f596e69f4ac7c51b2fa /gnu | |
parent | b545d223648e1575ce3fa9ac205a13f321cf318f (diff) | |
download | guix-0f87f2e69d5edf5e9b596867b1189cc994c642d5.tar guix-0f87f2e69d5edf5e9b596867b1189cc994c642d5.tar.gz |
gnu: qemu: Skip some tests on riscv64-linux.
* gnu/packages/virtualization.scm (qemu)[arguments]: Add phase for
riscv64-linux to skip some unsupported tests.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/virtualization.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 1c1be29d9b..6ad98f548e 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -215,6 +215,18 @@ ;; fails within the build environment. ((".*'test-char':.*" all) (string-append "# " all))))) + ,@(if (target-riscv64?) + `((add-after 'unpack 'disable-some-tests + (lambda _ + ;; qemu.qmp.QMPConnectError: Unexpected empty reply from server + (delete-file "tests/qemu-iotests/040") + (delete-file "tests/qemu-iotests/041") + (delete-file "tests/qemu-iotests/256") + + ;; No 'PCI' bus found for device 'virtio-scsi-pci' + (delete-file "tests/qemu-iotests/127") + (delete-file "tests/qemu-iotests/267")))) + '()) (add-after 'patch-source-shebangs 'patch-embedded-shebangs (lambda* (#:key native-inputs inputs #:allow-other-keys) ;; Ensure the executables created by these source files reference |