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 ms0.migadu.com with LMTPS id YLfrOJzUVGKaqgAAgWs5BA (envelope-from ) for ; Tue, 12 Apr 2022 03:23:40 +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 CGCiMZzUVGKvKwAAG6o9tA (envelope-from ) for ; Tue, 12 Apr 2022 03:23:40 +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 69F4832C52 for ; Tue, 12 Apr 2022 03:23:40 +0200 (CEST) Received: from localhost ([::1]:45118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ne5Fr-00063x-Kx for larch@yhetil.org; Mon, 11 Apr 2022 21:23:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5FH-0005NN-KD for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ne5FH-0001em-BP for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ne5FH-0003WC-7x for guix-patches@gnu.org; Mon, 11 Apr 2022 21:23:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54870] [PATCH 1/5] gnu: fenics-dolfin: Honor #:tests? flag. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Apr 2022 01:23:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54870 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54870@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164972653313367 (code B ref -1); Tue, 12 Apr 2022 01:23:03 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2022 01:22:13 +0000 Received: from localhost ([127.0.0.1]:46554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5ES-0003TS-Jt for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:58242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ne5EQ-0003TB-Hx for submit@debbugs.gnu.org; Mon, 11 Apr 2022 21:22:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41774) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5EQ-0003sQ-Cj for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:10 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]:11321) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ne5EO-0001Va-6U for guix-patches@gnu.org; Mon, 11 Apr 2022 21:22:09 -0400 Date: Tue, 12 Apr 2022 01:22:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1649726526; bh=kyVjyXiUd72n7yptUdLADBTP/1VxTlI7KtD6JzGXySo=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=WK8JXXr5dfIH5g6RCY27b59e7EBkFRh6di8NSb12xrOxQSq/uzXRezCVZPltI5bYr uWqbeQDA8DIErptOLU0q16lM6NSwa36TIJk8u5uf5y2QyQlb+NFZWQ9d/KcAu+mzRn HAcqGCjaChNh6a9Kt0CM+kWhs6xCo6Qnmp1PErlHWaKB2H5pp1CZrtsUHJZWyjyQn/ rh3lv6s7svyv66v0KA/uC2jLcyluBWY1QQOYrMuS59m20U6LSBtMdMgSppmIl+BTvU pFpAPcjelQwUvEFcZbMZeJFCb7jT3NhpVHkyJhT8pS6xPqEqxr2wFWLjPHi7IJsq5d 7Fh0/0h6e5PPw== From: "Paul A. Patience" Message-ID: <20220412012143.30573-2-paul@apatience.com> In-Reply-To: <20220412012143.30573-1-paul@apatience.com> References: <20220412012143.30573-1-paul@apatience.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.17; envelope-from=paul@apatience.com; helo=mail-4317.proton.ch X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1649726620; 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=kyVjyXiUd72n7yptUdLADBTP/1VxTlI7KtD6JzGXySo=; b=pxyiiy/8LJMrNMhnecQNvCXNd3CY/m4pzuHiMY1J6tSh9FRKRzT9/tpXLptXHlmKSJBSV7 8gwpyGeyEV7jHozK/VKwQloYdAni8rvgH+sdm/OyQ/xqLiDuFGyzVO2rikkTbSYt1tpsEt sisyZMS1yz4PXWHz5G7bOOfBxWSpetDU6PZy6dd1jWaMQhrNnUetL9QB96+AUmDY3hu2jb f1ILIhAeNWipxcMCmsWZGSUrRTep462kFw2FeBKlayg2Xs6JXpHX/hEmjDSDwjx2P4kxbV MUyaweoAqmxsPdhehP82q9NNBNsZt2xs/bbtaMW6RGVboLdfSWKFflW6sXe4xw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649726620; a=rsa-sha256; cv=none; b=nvwyNQxYctwAyaBNpfbC/a5JbaJRJgw56NtBC8beSZed0ChH7iWmQoLRocMd8IPh21Al0c fIeZTpFZjZKWL8gwyYc/hgIow086c7Uciih2loD4vtFqRCqhsJykv/7zqkQMfNXslKSjfs i5zecbeELC/EQFRD4gC7eEKBL1Si7DrXZSGeeCPEanuZr0Dvt3GeDIGizojbnJW8OSEP9U IS0db0zULDGhn6yrWTAznGhgrp2oc3qmAQENoSk5CwDig8e0DLSfzgR5tHi0OmCoO4Qy0v 74M6jeaweAY2GTCvJHBkOu4wHInhWp0feW1vsQVHcTdrzHvUmD5fGyWC6wWY+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=WK8JXXr5; 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: 3.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail2 header.b=WK8JXXr5; 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: 69F4832C52 X-Spam-Score: 3.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: PBCsCx0z9V/v * gnu/packages/simulation.scm (fenics-dolfin)[arguments]: Adjust custom 'check phase to honor the #:tests? flag. --- gnu/packages/simulation.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm index 3f2d8e136d..aebb6be15e 100644 --- a/gnu/packages/simulation.scm +++ b/gnu/packages/simulation.scm @@ -549,12 +549,13 @@ (define-public fenics-dolfin ")\n") port))) #t)) (replace 'check - (lambda _ - (and (invoke "make" "unittests") - (invoke "make" "demos") - (invoke "ctest" "-R" "unittests") - (invoke "ctest" "-R" "demo" "-R" "serial") - (invoke "ctest" "-R" "demo" "-R" "mpi"))))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (and (invoke "make" "unittests") + (invoke "make" "demos") + (invoke "ctest" "-R" "unittests") + (invoke "ctest" "-R" "demo" "-R" "serial") + (invoke "ctest" "-R" "demo" "-R" "mpi")))))))) (home-page "https://bitbucket.org/fenics-project/dolfin/") (synopsis "Problem solving environment for differential equations") (description -- 2.35.1