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'.
This commit is contained in:
Janneke Nieuwenhuizen 2023-06-12 20:26:45 +02:00
parent 07eff96a86
commit 6f15b4204f
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -324,7 +324,10 @@ (define preserved-files ',%preserved-third-party-files)
(lambda* (#:key tests? parallel-tests? #:allow-other-keys) (lambda* (#:key tests? parallel-tests? #:allow-other-keys)
(let ((skipped-tests (list #$@%common-disabled-tests (let ((skipped-tests (list #$@%common-disabled-tests
;; This test requires the bundled libuv. ;; This test requires the bundled libuv.
"BootstrapTest"))) "BootstrapTest"
#$@(if (system-hurd?)
%common-disabled-tests/hurd
#~()))))
(if tests? (if tests?
(begin (begin
(invoke "ctest" "-j" (if parallel-tests? (invoke "ctest" "-j" (if parallel-tests?