From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OFxaL7cPY2JOTwEAbAwnHQ (envelope-from ) for ; Fri, 22 Apr 2022 22:27:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id yJZ8LrcPY2LyPQAAG6o9tA (envelope-from ) for ; Fri, 22 Apr 2022 22:27:35 +0200 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 918803C29F for ; Fri, 22 Apr 2022 22:27:35 +0200 (CEST) Received: from localhost ([::1]:34768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhzsM-00045u-PJ for larch@yhetil.org; Fri, 22 Apr 2022 16:27:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhzrr-0003cV-F2 for guix-patches@gnu.org; Fri, 22 Apr 2022 16:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60853) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhzrr-00056v-6N for guix-patches@gnu.org; Fri, 22 Apr 2022 16:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhzrr-00025B-3X for guix-patches@gnu.org; Fri, 22 Apr 2022 16:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54869] [PATCH v3 4/7] gnu: python-vedo: Honor #:tests? flag. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 22 Apr 2022 20:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54869 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54869@debbugs.gnu.org Cc: "Paul A. Patience" Received: via spool by 54869-submit@debbugs.gnu.org id=B54869.16506591697864 (code B ref 54869); Fri, 22 Apr 2022 20:27:03 +0000 Received: (at 54869) by debbugs.gnu.org; 22 Apr 2022 20:26:09 +0000 Received: from localhost ([127.0.0.1]:54736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhzqz-00022m-6R for submit@debbugs.gnu.org; Fri, 22 Apr 2022 16:26:09 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:23428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhzqs-000213-KM for 54869@debbugs.gnu.org; Fri, 22 Apr 2022 16:26:02 -0400 Date: Fri, 22 Apr 2022 20:25:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1650659157; bh=Dwarics/nuuxaWFkfV7M5LbVN5sNoPDr2R7MwfVZUic=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=pJCrExw5k43qkaI15tU9fhr7PD+q7dmNvt3dWIN2osa/X9h8O5ou+LS6u2Pw/yM/R Id0KDb8+35WcMp3CvLoGftpEsdefvQStLmALkdFVt1TR780VlNbhpXt8gC+hHyvy0m U5ZtcgULejwa/jvZE8nFEsQD54N9P2zFAfMWafWq9R6DjZWfXhBDAbeN8wQzDyEgw+ o+OXno07GqCOmTcQi3QNuh16BLyAaBNfsbIOALsooXZVEc5bUY4S+vdgnSJ/36gDCI 8sYiUR4uLnJnHNW/Or3ZwCLbJe5NBo7pGdbpUOHGqcMBbW4e+fjNMbEOBqnp5Pa9nE x3/uA0GYpSTfA== From: "Paul A. Patience" Message-ID: <20220422202538.106338-5-paul@apatience.com> In-Reply-To: <20220422202538.106338-1-paul@apatience.com> References: <20220422202538.106338-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: "Paul A. Patience" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650659255; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=Dwarics/nuuxaWFkfV7M5LbVN5sNoPDr2R7MwfVZUic=; b=maiqbKRRpqNHPJDvI+B+1dgs4SpETLvuLDR8cWtlHeOW8QkxZiqjqtVGsiw0Qe1DEDnJJg 1quP5xLUq9unbecVBIxOmEuM0Hmodp5tIoD4Pu/516C42lVUfQd7WYNh70Y0w2XXQCNqov 9D07vYgSlmvcv8/F1aSDvbariJfa1/ZYuAy5cULYxyYzD7mnzQutIP+y4NKvMDlnbGKfXx HLdK7lVqADWSeyssPlKDGsMAsEoNzD2Rzs4Iv8Cq8aamGFggQRfrJn2Nyo6Y864tdFsA7c 2ansiS+F546nBmdmqguDmJKxrlenSZN4M5johDxWMmfPYFPCUNcO5iFjutaQ9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650659255; a=rsa-sha256; cv=none; b=o5D8o1xb5Kqn89kapSPwUMn0sU3V6qBPF3l+JPNe+9q65BdAymij9oUyBYAbWWnPrFGeQ1 gYWBcPmxnVyGl8OJ/2hEEcxoGxJvNSUSImKaWZzEEe1P3ot/yKOEmO4HGB1lBKOEY6A/Lz eA7iax/xuK/DYoY/lRvyJPVXaoSQgeml128Xj/VPdmAFB3KJhH7DrLqfI0xEsWRsJyJ2If Tm2u5LdHoGmd+lPsradKbsIRYZ5v/AHmEA921JQdAZX5lXsJ9IAZpvfY5pwpVTwNSjD01X BfRD3EILBt3kKxEebAg4ZpBSz9dr723DukZT/xZSkrx3z8zKAfttI9tGsA3odA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=pJCrExw5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=pJCrExw5; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 918803C29F X-Spam-Score: 1.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: TFle5Kc2GJUl * gnu/packages/python-science.scm (python-vedo)[arguments]: Adjust custom 'check' phase to honor the #:tests? flag. Also remove its trailing boolean. --- gnu/packages/python-science.scm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.= scm index 07d713e013..4538904b68 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -876,15 +876,15 @@ (define-public python-vedo (add-after 'build 'mpi-setup ,%openmpi-setup) (replace 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (setenv "HOME" (getcwd)) - (add-installed-pythonpath inputs outputs) - (with-directory-excursion "tests" - (for-each (lambda (dir) - (with-directory-excursion dir - (invoke "./run_all.sh"))) - '("common" "dolfin"))) - #t))))) + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (setenv "HOME" (getcwd)) + (add-installed-pythonpath inputs outputs) + (with-directory-excursion "tests" + (for-each (lambda (dir) + (with-directory-excursion dir + (invoke "./run_all.sh"))) + '("common" "dolfin"))))))))) (inputs ; for the check phase `(("dolfin" ,fenics) ("pkgconfig" ,python-pkgconfig) -- 2.35.1