From 6e38ec447f98383e0722ac300734f8d7c8c5c7b0 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 15 May 2023 17:07:44 +0300 Subject: [PATCH] gnu: vulkan-loader: Limit tests to x86_64 and i686. * gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Only run the tests when building on x86_64-linux or i686-linux. --- 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..1d2e58f1d4 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?))) + ;; As many as 23 tests are expected to fail per architecture. + ;; Limit the tests to those architectures tested upstream. + #:tests? (and (%current-system) + (target-x86?)) #:configure-flags #~(list (string-append "-DVULKAN_HEADERS_INSTALL_DIR=" (dirname (dirname