From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ILSVDmKWEmH8nwAAgWs5BA (envelope-from ) for ; Tue, 10 Aug 2021 17:08:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aMcWCmKWEmFTTwAAbx9fmQ (envelope-from ) for ; Tue, 10 Aug 2021 15:08:18 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7837A1CCA2 for ; Tue, 10 Aug 2021 17:08:17 +0200 (CEST) Received: from localhost ([::1]:34092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDTMW-0003iF-Hb for larch@yhetil.org; Tue, 10 Aug 2021 11:08:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDTMJ-0003es-Bl for guix-patches@gnu.org; Tue, 10 Aug 2021 11:08:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDTMJ-00021s-58 for guix-patches@gnu.org; Tue, 10 Aug 2021 11:08:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mDTMI-0007Xv-RW for guix-patches@gnu.org; Tue, 10 Aug 2021 11:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49828] [PATCH v3 01/20] gnu: minetest: Respect --without-tests. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 10 Aug 2021 15:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49828 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49828@debbugs.gnu.org Cc: Leo Prikler , Maxime Devos Received: via spool by 49828-submit@debbugs.gnu.org id=B49828.162860805828798 (code B ref 49828); Tue, 10 Aug 2021 15:08:02 +0000 Received: (at 49828) by debbugs.gnu.org; 10 Aug 2021 15:07:38 +0000 Received: from localhost ([127.0.0.1]:60321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDTLu-0007UP-EO for submit@debbugs.gnu.org; Tue, 10 Aug 2021 11:07:38 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:47582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDTLs-0007U8-FV for 49828@debbugs.gnu.org; Tue, 10 Aug 2021 11:07:37 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by michel.telenet-ops.be with bizsmtp id fr7a2500W0mfAB406r7biy; Tue, 10 Aug 2021 17:07:35 +0200 From: Maxime Devos Date: Tue, 10 Aug 2021 17:07:15 +0200 Message-Id: <20210810150734.11778-2-maximedevos@telenet.be> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210810150734.11778-1-maximedevos@telenet.be> References: <20210810150734.11778-1-maximedevos@telenet.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1628608055; bh=CziCEUv/WSPQuPV4ScsL+rJ4eW0p8b8j08yFSvDKecQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Nzi/EMp0rhI6P0mZ5YfwrN7/SnymG6ytLVtrqJRdCXZOSTDOBd/g1YgJLu4PVxqnb fMIOYVrPPu5B+6x+TGroStuLjQvFRaZOR+xkid/uDpNzV+CMwNWob3VaovPyE52g3z 49cUAhkSNDHWu3jff5EqdWYLeVulvJu922YLm7b2O3Azre0Iue3yM18ELb1EzpuPwO uUq9QgseC+5QoTBzi6j5hKTBpXVw16AzXQgxEJobQIRWTOHekS+05wqH4MigYJ34xE ht98VCj59DigcsgNmMk0Qfvsq9drAt60G3zMIDmb83C8l+LlDRrwaoXbClSK6lEccX O54nu5mmkk0og== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628608097; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=CziCEUv/WSPQuPV4ScsL+rJ4eW0p8b8j08yFSvDKecQ=; b=XsenUhTA4eNAyqRgJklN60h0PazReDh/geDCdek+KaiJJXZCR4+P5eVQ6jkn+FTgCDqxfn o5i9FSAVNGo029K5Os/koIIe0E9s+Cj044a6Tz5hIe62XuS9UmHsgwsESOMu/LhFeUBBaH kvonH/WHYOmMrzpqjzKVSHT53WIN8L4DiwnRUMogSHlS0p5bA/0vDX+JSA/BpULhkHKa8w Sbn4dlyTIDMM6EGzh+vwCvAWTKe1LQigU3vYOp5GxfJp+HMlCCIEmPYuPR+ZBKyF+QCZDD g5eMph1YLbl2hEwhMSnb36f8rIaLIFh/LYkEU43XAo3I2qs5FnzbloPtxGIMlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628608097; a=rsa-sha256; cv=none; b=rCY047rzWLYYRQiTohZqR+OTBLehaNe2kI6U3X6NQ2+X1XKHTDQxMVH6FJtHJEnXeaammv F5pU3lWmOp0IPEOtphcuHycvOUFp56HWjc1wabDuBFSosKc/Kqyq8mwTYmVRO2z/oqpeFG 1OvMHamqSUYQIBORf1sohpqwSSFIcHLjK+uZpnxAIvZowxt71z2QBCCPTVwEWrq6c48kMo Q5dIpHr1v6fgE6k/MS7KaU0AV0cSt2E1K2SAUo5nilQpkO37Bfq3c0WF65C98pQy8AyaAw LJ5rEa77thNe9Uhss6mj090RJMQ/2Xu0Fx4PovUs1C2+xzT4ed98M1OYMapNQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b="Nzi/EMp0"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b="Nzi/EMp0"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7837A1CCA2 X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: g/Lr2RkLVPHp * gnu/packages/games.scm (minetest)[arguments]<#:phases>{check}: Use 'tests?' instead of ',(%current-target-system)'. Remove trailing #t. --- 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 8c6b5523f1..3e7086b398 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3590,13 +3590,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") -- 2.32.0