From patchwork Sun Aug 28 14:47:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 42046 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 7B6AC27BBEA; Sun, 28 Aug 2022 15:48:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 3C0EE27BBE9 for ; Sun, 28 Aug 2022 15:48:28 +0100 (BST) Received: from localhost ([::1]:35774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSJaN-0006Hm-EA for patchwork@mira.cbaines.net; Sun, 28 Aug 2022 10:48:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSJa2-0005bE-9C for guix-patches@gnu.org; Sun, 28 Aug 2022 10:48:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41506) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSJa2-0006YS-1H for guix-patches@gnu.org; Sun, 28 Aug 2022 10:48:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSJa1-0001CE-Sg for guix-patches@gnu.org; Sun, 28 Aug 2022 10:48:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57462] [PATCH 06/15] gnu: proot: Don't ask to run tests when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Aug 2022 14:48:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57462 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57462@debbugs.gnu.org Received: via spool by 57462-submit@debbugs.gnu.org id=B57462.16616980794475 (code B ref 57462); Sun, 28 Aug 2022 14:48:05 +0000 Received: (at 57462) by debbugs.gnu.org; 28 Aug 2022 14:47:59 +0000 Received: from localhost ([127.0.0.1]:59465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSJZv-00019y-Au for submit@debbugs.gnu.org; Sun, 28 Aug 2022 10:47:59 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:39738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSJZm-00017N-43 for 57462@debbugs.gnu.org; Sun, 28 Aug 2022 10:47:51 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:5dba:d409:33f7:a16]) by xavier.telenet-ops.be with bizsmtp id D2no2800B20ykKC012nplE; Sun, 28 Aug 2022 16:47:49 +0200 From: Maxime Devos Date: Sun, 28 Aug 2022 16:47:39 +0200 Message-Id: <20220828144748.15575-6-maximedevos@telenet.be> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220828144748.15575-1-maximedevos@telenet.be> References: <20220828144435.15239-1-maximedevos@telenet.be> <20220828144748.15575-1-maximedevos@telenet.be> MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1661698069; bh=UZ12liWKMqqg6+5tgUyJA1c//9vGKhDZaFprYB2vii0=; h=From:To:Subject:Date:In-Reply-To:References:Reply-To; b=HnAEG09xpWdbYqOcfSd2wut4k+4AhRB+CWwWqmhrPsyF4ENpLmKEZwN2EHriUo2XX dJluU9WxMNNWJIuhGkT9C+bbArqUjarGhO8HuF0w+9eQfE+KBwuW7wVLvGdM3NWvjo 9A+46+MA6Fe8yBCkw/MeIl3IEBfj2Te/tgoSspKJ9MlpobZK6NrBCBEQ2BtrqSVSRj amv0M/5g3OadWg/ZTlpiygmJuh3Wqtrx+O0OQfHJl2v4VZ5gRYvOyGtsCVe/+2qwsb 97EAVRVOJeBn25evUvhBJ+alJvWYegkCnFfzCKQn3InXE/As7UkTIG735hLstaeBK6 f5q99V6N8pR5Q== 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: , Reply-To: 57462@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (proot)[arguments]{#:tests?}: When cross-compiling, set to #false. --- gnu/packages/linux.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 19ba30aa16..4e472de7c7 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -7685,9 +7685,9 @@ (define-public proot ;; Disable the test suite on armhf-linux, as there are too many ;; failures to keep track of (see for example: ;; https://github.com/proot-me/proot/issues/286). - `(#:tests? ,(not (string-prefix? "armhf" - (or (%current-target-system) - (%current-system)))) + `(#:tests? ,(not (or (%current-target-system) + (string-prefix? "armhf" + (or (%current-system))))) #:make-flags '("-C" "src") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-sources