From 230b34cb5c88bcfda155094fde85a0a125f490f2 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 3 Nov 2021 22:01:23 +0200 Subject: gnu: simgear: Honor #:tests? flag. * gnu/packages/games.scm (simgear)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. --- gnu/packages/games.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index f601e96035..b1de90cf24 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -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) -- cgit v1.2.3