Subject: [PATCH v2 38/65] gnu: simgear: Use #:test-exclude.

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

* gnu/packages/games.scm (simgear)[arguments]
<#:test-exclude>: Move exclude regex here from 'check phase.
<#:phases>: Remove 'check phase.

Change-Id: I3ac389580949f8edafca5768335d491a2ea86650
---
 gnu/packages/games.scm | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c594b8ac2a..d0dcc64289 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -9801,13 +9801,7 @@ (define simgear
     (build-system cmake-build-system)
     (arguments
      `(#:configure-flags (list "-DSYSTEM_EXPAT=ON")
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               ;; Skip tests that require internet access.
-               (invoke "ctest" "-E" "(http|dns)")))))))
+       #:test-exclude "(http|dns)"))
     (inputs
      `(("boost" ,boost)
        ("curl" ,curl)
-- 
2.46.1