~ruther/guix-local

230b34cb5c88bcfda155094fde85a0a125f490f2 — Efraim Flashner 4 years ago 3a5b1cc
gnu: simgear: Honor #:tests? flag.

* gnu/packages/games.scm (simgear)[arguments]: Adjust custom 'check
phase to honor the #:tests? flag.
1 files changed, 4 insertions(+), 3 deletions(-)

M gnu/packages/games.scm
M gnu/packages/games.scm => gnu/packages/games.scm +4 -3
@@ 9275,9 9275,10 @@ levels to unlock.")
     `(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda _
             ;; Skip tests that require internet access.
             (invoke "ctest" "-E" "(http|dns)"))))))
           (lambda* (#:key tests? #:allow-other-keys)
             (when tests?
               ;; Skip tests that require internet access.
               (invoke "ctest" "-E" "(http|dns)")))))))
    (inputs
     `(("boost" ,boost-for-mysql)       ; fails with 1.69
       ("curl" ,curl)