guix-commits
[Top][All Lists]
Advanced

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

32/43: gnu: cmake-minimal: Skip tests on the Hurd.


From: guix-commits
Subject: 32/43: gnu: cmake-minimal: Skip tests on the Hurd.
Date: Thu, 20 Jul 2023 04:22:29 -0400 (EDT)

janneke pushed a commit to branch master
in repository guix.

commit 6f15b4204fb2205c1b6cae81d396b2a95bdd818e
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Jun 12 20:26:45 2023 +0200

    gnu: cmake-minimal: Skip tests on the Hurd.
    
    * gnu/packages/cmake.scm (cmake-minimal)[arguments]: When building natively 
on
    the Hurd, add %common-disabled-tests/hurd to skipped tests in phase 'check'.
---
 gnu/packages/cmake.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cmake.scm b/gnu/packages/cmake.scm
index 9064ca3822..bc14286070 100644
--- a/gnu/packages/cmake.scm
+++ b/gnu/packages/cmake.scm
@@ -324,7 +324,10 @@ and workspaces that can be used in the compiler 
environment of your choice.")
             (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
               (let ((skipped-tests (list #$@%common-disabled-tests
                                          ;; This test requires the bundled 
libuv.
-                                         "BootstrapTest")))
+                                         "BootstrapTest"
+                                         #$@(if (system-hurd?)
+                                                %common-disabled-tests/hurd
+                                                #~()))))
                 (if tests?
                     (begin
                       (invoke "ctest" "-j" (if parallel-tests?



reply via email to

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