guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch wip-riscv updated: gnu: qemu: Skip some tests on riscv64-linux.


From: guix-commits
Subject: branch wip-riscv updated: gnu: qemu: Skip some tests on riscv64-linux.
Date: Mon, 23 Aug 2021 05:31:47 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch wip-riscv
in repository guix.

The following commit(s) were added to refs/heads/wip-riscv by this push:
     new 1f53a23  gnu: qemu: Skip some tests on riscv64-linux.
1f53a23 is described below

commit 1f53a234545efd9c9b1f79d8398c0ead4016a10b
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Aug 23 12:29:36 2021 +0300

    gnu: qemu: Skip some tests on riscv64-linux.
    
    * gnu/packages/virtualization.scm (qemu)[arguments]: Add phase for
    riscv64-linux to skip some unsupported tests.
---
 gnu/packages/virtualization.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index 6f86e13..61a31b2 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -207,6 +207,18 @@
                ;; fails within the build environment.
                ((".*'test-char':.*" all)
                 (string-append "# " all)))))
+         ,(if (target-riscv?)
+            `(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 _
              ;; Ensure the executables created by these source files reference



reply via email to

[Prev in Thread] Current Thread [Next in Thread]