mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
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:
parent
b545d22364
commit
0f87f2e69d
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue