guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 43/67: gnu: cmake-minimal: Skip tests on the Hurd.
Date: Tue, 18 Jul 2023 10:16:09 -0400 (EDT)

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

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