From patchwork Wed Nov 24 14:19:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 34790 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 0F0CB27BBEA; Wed, 24 Nov 2021 14:20:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 CBE3D27BBE9 for ; Wed, 24 Nov 2021 14:20:12 +0000 (GMT) Received: from localhost ([::1]:40028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpt87-0004LW-T2 for patchwork@mira.cbaines.net; Wed, 24 Nov 2021 09:20:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34826) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpt7y-0004Ks-PS for guix-patches@gnu.org; Wed, 24 Nov 2021 09:20:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpt7y-0004pH-GO for guix-patches@gnu.org; Wed, 24 Nov 2021 09:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpt7y-0000jt-5U for guix-patches@gnu.org; Wed, 24 Nov 2021 09:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52078] [PATCH 1/2] gnu: julia: Disable broken tests. Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Nov 2021 14:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52078 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52078@debbugs.gnu.org Cc: zimoun X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16377635602783 (code B ref -1); Wed, 24 Nov 2021 14:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Nov 2021 14:19:20 +0000 Received: from localhost ([127.0.0.1]:53564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpt7I-0000ip-7u for submit@debbugs.gnu.org; Wed, 24 Nov 2021 09:19:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:41656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpt7F-0000ig-DG for submit@debbugs.gnu.org; Wed, 24 Nov 2021 09:19:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpt7F-0004Hv-97 for guix-patches@gnu.org; Wed, 24 Nov 2021 09:19:17 -0500 Received: from [2a00:1450:4864:20::331] (port=55867 helo=mail-wm1-x331.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpt7D-0004iZ-Pz for guix-patches@gnu.org; Wed, 24 Nov 2021 09:19:16 -0500 Received: by mail-wm1-x331.google.com with SMTP id p18so2521165wmq.5 for ; Wed, 24 Nov 2021 06:19:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7rKh3E2eOva40ttc+7FOfbJFV/kKEcQTSX27+Qf1kJ8=; b=WtYimoAKOaBIKxh0AYkbWil2WvGuKeduIQ+1Q7hIYcM65St+puw6/EZLElidmScHaP MRW0UCBa0oEktkRe1gNcEnaq9R+CkNgXJRPPDI5U53p8Wb2XppgXW+Ohf90CxkqqqeUE ygdYEthacU3z2qKymjlAn038i9mV1cpNwbwEO2AJw9GFKBYSR7WiSrUBJHr0DK11K+aw BFRkcJznZM5s0yHGOToiznc+RTEzRrMY4MOBnBk7pY+iA3FodHgzTTJ0b+jGjZL8pWKO BzKSDqAFOpPBQnrp/zLGgq0mz928mLr1sBZiCnAoLM2H59iCJ4+nVjKlem85DHXyUvqm 1IGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7rKh3E2eOva40ttc+7FOfbJFV/kKEcQTSX27+Qf1kJ8=; b=AfrQdE/F9FrwkF53tzj8mvgCXbbsKYNdegyiY7dRCph3QUOrIHCvi+dGw4VIWSGU6U t9xa/wix09mPePTXj/S3Sy1EdHjpp9beopsek8WaDQwrOucjUIUWqeOAjlBCyl1TRSSo 4sAbupdSVi/A0csh5VtYb6SWCs3UvH2QsrggAajUyFNV/HMJBeMe2YcVdfAw6bEQBs8u MtERH0b0wgRLCbach3/KgFxTLnW4p9H86091WvqaokjyxYi+nYgzjI4CruTAYmvbIMqK Y5L2H4WtUh4F+r8fOzxckXHeLC/En+PO0NYIw6ypeNclpE3O/ybT96R7Qbwf2eeF5FpC KOxw== X-Gm-Message-State: AOAM533Bggm2fg0DHNxOAyJcwYR8BnYOOkRsb0SmZQSx3FoAU+k5TQmN CQje90HL2kABTLO67LQdNTQa32yhOUg= X-Google-Smtp-Source: ABdhPJxeIpN2nW4TUDB5wzUk8xb+aweNDVSXcYUK8pkLYrBGvq4PfhqHdvzv/ZRwdmvNNY4sg956FA== X-Received: by 2002:a05:600c:22cb:: with SMTP id 11mr15627365wmg.181.1637763553822; Wed, 24 Nov 2021 06:19:13 -0800 (PST) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id v6sm4696107wmh.8.2021.11.24.06.19.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Nov 2021 06:19:13 -0800 (PST) From: zimoun Date: Wed, 24 Nov 2021 15:19:07 +0100 Message-Id: <20211124141907.64286-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::331 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x331.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/julia.scm (julia)[arguments]: Disable broken tests. --- gnu/packages/julia.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) base-commit: 6605d9ba356f7975e75c0664d9ef02bb7bc9cc1e diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index aff7e1a66f..0d4dd2b7f2 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -382,7 +382,18 @@ (define-public julia ;(setenv "LC_ALL" "en_US.utf8") (substitute* "test/cmdlineargs.jl" (("test v\\[3") "test_broken v[3") - (("test isempty\\(v\\[3") "test_broken isempty(v[3")))) + (("test isempty\\(v\\[3") "test_broken isempty(v[3")) + ;; These tests randomly fails because they depend on CPU. + (substitute* "stdlib/LinearAlgebra/test/matmul.jl" + ;; Fixed in v1.6.4 + ;; https://github.com/JuliaLang/julia/blob/v1.6.4/stdlib/LinearAlgebra/test/matmul.jl#L155 + (("@test mul\\!\\(C, vf, transpose\\(vf\\), 2, 3\\) == 2vf\\*vf' \\.\\+ 3C0") + "@test mul!(C, vf, transpose(vf), 2, 3) ≈ 2vf*vf' .+ 3C0")) + (substitute* "test/math.jl" + ;; @test_broken cannot be used because if the test randomly + ;; passes, then it also raises an error. + (("@test isinf\\(log1p\\(-one\\(T\\)\\)\\)") + " ")))) (add-before 'install 'symlink-libraries (lambda* (#:key inputs outputs #:allow-other-keys) (let ((link