Subject: [PATCH] gnu: vulkan-loader: Only run tests on x86.
From: Christopher Baines <[email-masked]>
To: [email-masked]
Date: Sat, 6 May 2023 10:04:18 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Only run tests on x86.
---
 gnu/packages/vulkan.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/vulkan.scm b/gnu/packages/vulkan.scm
index b0d968938b..f03c3dbc6f 100644
--- a/gnu/packages/vulkan.scm
+++ b/gnu/packages/vulkan.scm
@@ -228,8 +228,10 @@ (define-public vulkan-loader
     (build-system cmake-build-system)
     (arguments
      (list
-      #:tests? (not (or (%current-target-system)
-                        (target-riscv64?)))
+      ;; TODO: Some tests seem to assume running on x86,
+      ;; e.g. TryLoadWrongBinaries
+      #:tests? (and (target-x86?)
+                    (not (%current-target-system)))
       #:configure-flags
       #~(list (string-append "-DVULKAN_HEADERS_INSTALL_DIR="
                              (dirname (dirname

base-commit: 64086a4fa449a9f6d2f835fcdf5498222b309e3a
-- 
2.39.1