guix-commits
[Top][All Lists]
Advanced

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

70/89: gnu: cmake-minimal: Skip tests on the Hurd.


From: guix-commits
Subject: 70/89: gnu: cmake-minimal: Skip tests on the Hurd.
Date: Tue, 20 Jun 2023 05:59:01 -0400 (EDT)

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

commit 1b162cfffe334598ec679e57ba910097c418e455
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]