[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/22: gnu: minetest: Respect --without-tests.
From: |
guix-commits |
Subject: |
01/22: gnu: minetest: Respect --without-tests. |
Date: |
Fri, 20 Aug 2021 07:42:57 -0400 (EDT) |
leoprikler pushed a commit to branch master
in repository guix.
commit bfadab9177866f0d638449451e1dbde2b36c3d51
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Tue Aug 10 17:07:15 2021 +0200
gnu: minetest: Respect --without-tests.
* gnu/packages/games.scm
(minetest)[arguments]<#:phases>{check}: Use 'tests?' instead
of ',(%current-target-system)'. Remove trailing #t.
Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/games.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 28cd0cd..37d658e 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3633,13 +3633,12 @@ match, cannon keep, and grave-itation pit.")
(string-append (getcwd) "/games")) ; for check
#t))
(replace 'check
- (lambda _
+ (lambda* (#:key tests? #:allow-other-keys)
;; Thanks to our substitutions, the tests should also run
;; when invoked on the target outside of `guix build'.
- (unless ,(%current-target-system)
+ (when tests?
(setenv "HOME" "/tmp")
- (invoke "src/minetest" "--run-unittests"))
- #t)))))
+ (invoke "src/minetest" "--run-unittests")))))))
(native-search-paths
(list (search-path-specification
(variable "MINETEST_SUBGAME_PATH")
- branch master updated (2795231 -> b7d1698), guix-commits, 2021/08/20
- 03/22: gnu: minetest: New package module., guix-commits, 2021/08/20
- 02/22: gnu: minetest: Search for mods in MINETEST_MOD_PATH., guix-commits, 2021/08/20
- 01/22: gnu: minetest: Respect --without-tests.,
guix-commits <=
- 07/22: gnu: Add minetest-mesecons., guix-commits, 2021/08/20
- 05/22: import/utils: Recognise GPL-3.0-or-later and friends., guix-commits, 2021/08/20
- 06/22: guix: Add ContentDB importer., guix-commits, 2021/08/20
- 08/22: gnu: Add minetest-basic-materials., guix-commits, 2021/08/20
- 09/22: gnu: Add minetest-unifieddyes., guix-commits, 2021/08/20
- 04/22: build-system: Add 'minetest-mod-build-system'., guix-commits, 2021/08/20
- 19/22: gnu: Add minetest-mobs-animal., guix-commits, 2021/08/20
- 20/22: gnu: Add minetest-homedecor-modpack., guix-commits, 2021/08/20
- 17/22: gnu: Add minetest-worldedit., guix-commits, 2021/08/20
- 21/22: gnu: minetest-mineclone: move to minetest.scm., guix-commits, 2021/08/20