Subject: [PATCH v2 36/65] gnu: pdal: Use :#test-exclude and disable parallel tests.

From: Greg Hogan <[email-masked]>
Date: Tue, 22 Oct 2024 18:09:26 +0000

* gnu/packages/geo.scm (pdal)[arguments]
<#:parallel-tests?>: Disable.
<#:test-exclude>: Move exclude regex here from 'check phase.
<#:phases>: Remove 'check phase.

Change-Id: Ib148edc5e5c5f251797360cacda1dfb5de71d664
---
 gnu/packages/geo.scm | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 5d120b3c98..3e2a22bbb9 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1307,13 +1307,8 @@ (define-public pdal
         (base32 "0gg5lcshlmn3wwak42xr0b8a8gdr4572d7hrcvxn2291kp2c3096"))))
     (build-system cmake-build-system)
     (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               (replace 'check
-                 (lambda* (#:key tests? #:allow-other-keys)
-                   (when tests?
-                     (invoke "ctest" "-E" ;; This test hangs.
-                             "pdal_io_stac_reader_test")))))))
+     (list #:parallel-tests? #f
+           #:test-exclude "pdal_io_stac_reader_test"))
     (native-inputs (list python))
     (inputs (list gdal
                   h3
-- 
2.46.1