guix-commits
[Top][All Lists]
Advanced

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

31/58: gnu: cmake-minimal: Skip tests on the Hurd.


From: guix-commits
Subject: 31/58: gnu: cmake-minimal: Skip tests on the Hurd.
Date: Wed, 19 Jul 2023 03:00:48 -0400 (EDT)

janneke pushed a commit to branch hurd-team
in repository guix.

commit d623314f18d0b43bc8ca45a2c68a2adb178cd780
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]