From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EGNOG7otSGVQAgAA9RJhRA:P1 (envelope-from ) for ; Mon, 06 Nov 2023 01:05:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EGNOG7otSGVQAgAA9RJhRA (envelope-from ) for ; Mon, 06 Nov 2023 01:05:14 +0100 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 5C07944B46 for ; Mon, 6 Nov 2023 01:05:14 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1699229114; a=rsa-sha256; cv=none; b=UFd+d/J+/a8ZxaEew6lOWfkyuwuSLPZ7s911iCyC4rNn3ns1SvhLKUDWKgcoX5Pa0A3QGM GkO/oUHUa2+c/65HBE1+8kjKOlziTy6DhzBrhq142G/XWb8W73RsuE28PLip0StQae2gKl ahLZv1Xmzz8G3K9LK3ba9Ds3omxbZivCwmonovYkyuI9udCsGNdbiaLj1yuIsqK1TaZs/u ciX0C/m1pMAB0wCQ8tE7IAO9p9GpbX/2+/uokGp2hRw8pD9Qvrj7CXyK0AoKtehcYdyi2Z xo0jfFGKvF9p25U92BCCmb2I+3/sp3HAjTt0pcmrcTYoD7UjgKVlxi1euzvBgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1699229114; 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-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; bh=tKz/2HUJSbn1LF54nNKb1HUxqM4ldprOeKH8vhCoR+w=; b=VXOsR+/RNLkpQ6wM7bOfxgSjbQLhg098yWIVwgObROhWNOkUzRhZQcdDfH7uwifTST6dsb 0IIVrtZPkNF1/WIuNdebqqtlkxnZ6eVOPrzxF4jPnJovTp2nBmmlA9Nb2e14MmSAOzq99f 18LeVnFRgU11XaO58qZhV0aNFK0Ja8JkvLwgPHAmNhTcar3PcEGgV5tczYpc8it8GpJIAm V7t4dOp00EK8GOC4I9zpUBx0VbWBQjXdWh2GmQNSH7BLczwSeTQkcjyzB8Yvl6/oDrBz4m +CQGuQkWhgzjS34P/9gIbgTmx75Q0T5W0gyDVmQCdsuakJQpIbEAKzRgi46UqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qzn6S-0004iV-0u; Sun, 05 Nov 2023 19:04:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qzn6Q-0004ha-4Z for guix-patches@gnu.org; Sun, 05 Nov 2023 19:04:26 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qzn6P-0000Qi-Rv for guix-patches@gnu.org; Sun, 05 Nov 2023 19:04:25 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qzn70-0008VF-KZ for guix-patches@gnu.org; Sun, 05 Nov 2023 19:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#65853] [PATCH v3 2/8] gnu: scilab: Activate tests and disable failing tests. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 06 Nov 2023 00:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65853 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65853@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 65853-submit@debbugs.gnu.org id=B65853.169922908332568 (code B ref 65853); Mon, 06 Nov 2023 00:05:02 +0000 Received: (at 65853) by debbugs.gnu.org; 6 Nov 2023 00:04:43 +0000 Received: from localhost ([127.0.0.1]:38397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzn6g-0008T8-Rj for submit@debbugs.gnu.org; Sun, 05 Nov 2023 19:04:43 -0500 Received: from 2.mo584.mail-out.ovh.net ([46.105.72.36]:38841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qzn6b-0008SY-D0 for 65853@debbugs.gnu.org; Sun, 05 Nov 2023 19:04:41 -0500 Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.138.157]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 0FB8322D3F for <65853@debbugs.gnu.org>; Mon, 6 Nov 2023 00:03:59 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-d82ln (unknown [10.110.115.73]) by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D2C751FDB0; Mon, 6 Nov 2023 00:03:58 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-6684bf9d7b-d82ln with ESMTPSA id IHzhMG4tSGXouTsA2Qe1KA (envelope-from ); Mon, 06 Nov 2023 00:03:58 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Mon, 6 Nov 2023 00:51:45 +0100 Message-ID: <20231106000354.32423-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231106000354.32423-1-ngraves@ngraves.fr> References: <20231106000354.32423-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 3273835456216294114 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedruddufedgudejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepgfeuhefhgeelvdeifeduheffgfdttdekveeiffduudejlefhjeffudduhfdvjeehnecuffhomhgrihhnpehinhgtlhdrrghmnecukfhppeduvdejrddtrddtrddupdekuddrieejrddugedtrddugedvpdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieehkeehfeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -4.61 X-Migadu-Queue-Id: 5C07944B46 X-Migadu-Spam-Score: -4.61 X-TUID: mC1oD4ByjGS2 * gnu/packages/maths.scm (scilab): Activate tests and disable failing tests. [arguments]: (tests?): Activate tests. (phases): [remove-desktop-files]: Extend and rename to restrain-to-scilab-cli. [disable-failing-tests]: Add phase. Change-Id: Icfec349c6efe14e7787ba8d385e5d51f82be82ea --- gnu/packages/maths.scm | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 88b52eb4fc..f6d0575979 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -9622,8 +9622,6 @@ (define-public scilab tk)) (arguments (list - ;; The tests require java code. - #:tests? #f #:configure-flags #~(list "--enable-relocatable" @@ -9663,12 +9661,31 @@ (define-public scilab "modules/scicos/src/translator/makefile.mak" "modules/scicos/src/modelica_compiler/makefile.mak") (("nums\\.cmx?a") "")))) - ;; Install only scilab-cli.desktop - (add-after 'unpack 'remove-desktop-files - (lambda _ - (substitute* "desktop/Makefile.am" - (("desktop_DATA =") - "desktop_DATA = scilab-cli.desktop\nDUMMY =")))) + (add-after 'unpack 'restrain-to-scilab-cli + (lambda _ + ;; Install only scilab-cli.desktop + (substitute* "desktop/Makefile.am" + (("desktop_DATA =") + "desktop_DATA = scilab-cli.desktop\nDUMMY =")) + ;; Replace scilab with scilab-cli for tests. + (substitute* "Makefile.incl.am" + (("scilab-bin") "scilab-cli-bin") + (("scilab -nwni") "scilab-cli") + ;; Do not install tests, demos and examples. + ;; This saves up to 140 Mo in the final output. + (("(TESTS|DEMOS|EXAMPLES)_DIR=.*" all kind) + (string-append kind "_DIR="))))) + (add-before 'check 'disable-failing-tests + (lambda _ + (substitute* "Makefile" + (("TESTS = .*") + "TESTS =\n")) + (substitute* "modules/functions_manager/Makefile" + (("check:.*") + "check:\n")) + (substitute* "modules/types/Makefile" + (("\\$\\(MAKE\\) \\$\\(AM_MAKEFLAGS\\) check-am") + "")))) ;; These generated files are assumed to be present during ;; the build. (add-after 'bootstrap 'bootstrap-dynamic_link-scripts -- 2.41.0