gnu: qemu: Skip some tests on riscv64-linux.

* gnu/packages/virtualization.scm (qemu)[arguments]: Add phase for
riscv64-linux to skip some unsupported tests.
This commit is contained in:
Efraim Flashner 2021-08-23 12:29:36 +03:00
parent b545d22364
commit 0f87f2e69d
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -215,6 +215,18 @@ (define-public qemu
;; 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