emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47333: closed ([PATCH 2/2] Enable test of minetest)


From: GNU bug Tracking System
Subject: bug#47333: closed ([PATCH 2/2] Enable test of minetest)
Date: Tue, 23 Mar 2021 00:24:02 +0000

Your message dated Tue, 23 Mar 2021 09:22:54 +0900
with message-id <51cff3bf-ca9d-bc52-001d-aa4b91557209@lagunposprasihopre.org>
and subject line oops
has caused the debbugs.gnu.org bug report #47333,
regarding [PATCH 2/2] Enable test of minetest
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
47333: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47333
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 2/2] Enable test of minetest Date: Tue, 23 Mar 2021 09:06:34 +0900
---
 gnu/packages/games.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f1ee7e9971..0ccbde636a 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3482,7 +3482,7 @@ match, cannon keep, and grave-itation pit.")
                   #t))))
     (build-system cmake-build-system)
     (arguments
-     '(#:configure-flags
+     `(#:configure-flags
        (list "-DRUN_IN_PLACE=0"
              "-DENABLE_FREETYPE=1"
              "-DENABLE_GETTEXT=1"
@@ -3493,7 +3493,15 @@ match, cannon keep, and grave-itation pit.")
              (string-append "-DCURL_INCLUDE_DIR="
                             (assoc-ref %build-inputs "curl")
                             "/include/curl"))
-       #:tests? #f))                    ;no check target
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (setenv "HOME" "/tmp")
+             (invoke (string-append "../" ,name "-" ,version
+                                    "-checkout/bin/minetest")
+                     "--run-unittests")
+             #t)))))
     (native-search-paths
      (list (search-path-specification
             (variable "MINETEST_SUBGAME_PATH")
-- 
2.31.0




--- End Message ---
--- Begin Message --- Subject: oops Date: Tue, 23 Mar 2021 09:22:54 +0900 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Icedove/78.8.0

Attachment: OpenPGP_0x3DCFB2469F9A726F.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]