guix_mirror_bot pushed a commit to branch c++-team
in repository guix.

commit ee2a136c22d5d27c81dcad262ae3661aa8679f88
Author: Greg Hogan <c...@greghogan.com>
AuthorDate: Tue Oct 22 18:09:28 2024 +0000

    gnu: simgear: Use #:test-exclude.
    
    * 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 21f01a83ae..7100e8a737 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10982,13 +10982,7 @@ levels to unlock.")
     (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)

Reply via email to