summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2023-06-12 20:26:45 +0200
committerJanneke Nieuwenhuizen <janneke@gnu.org>2023-07-20 10:11:35 +0200
commit6f15b4204fb2205c1b6cae81d396b2a95bdd818e (patch)
treec475d5877083ab3cf91923aa7d813d9ecb263f0e
parent07eff96a86670a693c1f9a5df52e5fc0062d4c78 (diff)
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'.
-rw-r--r--gnu/packages/cmake.scm5
1 files changed, 4 insertions, 1 deletions
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?