From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uHVRNR3mnmEc8AAAgWs5BA (envelope-from ) for ; Thu, 25 Nov 2021 02:25:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kP75MB3mnmHnAwAAB5/wlQ (envelope-from ) for ; Thu, 25 Nov 2021 01:25:49 +0000 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 850502E84A for ; Thu, 25 Nov 2021 02:25:49 +0100 (CET) Received: from localhost ([::1]:38252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mq3WG-0005yp-FF for larch@yhetil.org; Wed, 24 Nov 2021 20:25:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq3VX-0005k0-B2 for guix-patches@gnu.org; Wed, 24 Nov 2021 20:25:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mq3VX-0001vD-1Y for guix-patches@gnu.org; Wed, 24 Nov 2021 20:25:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mq3VW-0007tY-Uq for guix-patches@gnu.org; Wed, 24 Nov 2021 20:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52078] [PATCH v2 1/3] gnu: julia: Disable broken tests. References: <20211124141907.64286-1-zimon.toutoune@gmail.com> In-Reply-To: <20211124141907.64286-1-zimon.toutoune@gmail.com> Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Nov 2021 01:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52078 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52078@debbugs.gnu.org Cc: maxim.cournoyer@gmail.com, zimoun Received: via spool by 52078-submit@debbugs.gnu.org id=B52078.163780350130324 (code B ref 52078); Thu, 25 Nov 2021 01:25:02 +0000 Received: (at 52078) by debbugs.gnu.org; 25 Nov 2021 01:25:01 +0000 Received: from localhost ([127.0.0.1]:55342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq3VU-0007sv-Jr for submit@debbugs.gnu.org; Wed, 24 Nov 2021 20:25:00 -0500 Received: from mail-wr1-f47.google.com ([209.85.221.47]:45739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq3VS-0007sT-60 for 52078@debbugs.gnu.org; Wed, 24 Nov 2021 20:24:59 -0500 Received: by mail-wr1-f47.google.com with SMTP id o13so7814228wrs.12 for <52078@debbugs.gnu.org>; Wed, 24 Nov 2021 17:24:58 -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=jGW4UmVwHdFkX/RIHu0/mNinjLOGZC+zjSZ9c9Bkne4=; b=fYaB24A4n7lJuJs9WKTTP+fr+20+AsqRGeCyoA7VLM1vwAWZ47GBzQXlYPDzeMf5fS crbv7eF9Q78tF1SM34LWRwI1axOW8fcFiRZcwMEDABrf1XijJdGmKyv0KmY++4hjav0Y Ab8tz9e9iqEba06h2GXW3/9OSbo5ypcrzaoEHbaqS3VfGw3JyLc49Q9Og9pwampd1mb7 tokIFiceHb84DDUjxpA9RuMGslJ93rsgDCxQKgeiS0wkQtBq9i4y/zov8ICutZWyOuQC WPrIHVPDXuXAu9UBSzy+O/wIN3w5MwkSoBMvDJwfpRbpYCHXH4yOB9P5I82aCvsW/uYC fDNQ== 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=jGW4UmVwHdFkX/RIHu0/mNinjLOGZC+zjSZ9c9Bkne4=; b=slTIUCHqN7gZD0lgTi0+iHz/Q8l/BGwSgaoXB3IqvZZRXdNI/n4PRH2v75TK2/qlGL rZmcHZX89GgTNcAJSpzVkeP7Dckykyfk30f0t9yI69PA4LJX4YQyNMgZmZfdY6XOkkGM nroiH5bMfLNl24jKlZ/1ugEyMwwGXGsI/zm9Y/golrIv/T6jfQZWRUviwCTJFxkYOOJe D6/1SaRBFiB9pDcHuqzDaJTmxeMd22LC6DAwx01/+5I8mloP+6fg8s4/dxjKOEvCd9AL S6Lnb3D0SOatYkksIAfMD6KiEQzYeaJj9DTQ+yqYk6jktjy3lV8teqQIWI0SvDddz61t gj2w== X-Gm-Message-State: AOAM530Jlp9P+CoK9iZ3C+/Qz9pLZ0t+H0XRuyix2Vw2B1K7M5XG4OTT B2yOK6jtzoK/jgIWFkhAyN3A3y9v7x4= X-Google-Smtp-Source: ABdhPJyIta9zRosp93Yejc07u0O7D6gKLYT+ontvhAOf4cvIGHGqzgUS0q/OQm56V/laExthqgt0rg== X-Received: by 2002:adf:f602:: with SMTP id t2mr2045570wrp.539.1637803492250; Wed, 24 Nov 2021 17:24:52 -0800 (PST) Received: from localhost.localdomain ([193.48.40.110]) by smtp.gmail.com with ESMTPSA id p27sm1214691wmi.28.2021.11.24.17.24.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Nov 2021 17:24:51 -0800 (PST) From: zimoun Date: Thu, 25 Nov 2021 02:24:41 +0100 Message-Id: <20211125012443.21840-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637803549; h=from:from:sender:sender: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=jGW4UmVwHdFkX/RIHu0/mNinjLOGZC+zjSZ9c9Bkne4=; b=bOzXNglnCfmafGlFWN9Lw8bI5R0ioRLyHzlRawj0DKZRMiIcj7r1MYDciXoQ5QbqFmahh1 Z1ptUr1ttNMu+W3aZkUystc0316wS9lqzoOMq6rUTxRAH8bGBBembj1Q9ov19j3+SlDcdw SknvcbdNMs9dGX9/vm/jwkTFeicCSyW4zwE8sDwlCCS15KAdRrkRdKNE0LUKFgENkMP9V6 B0fjahoNyhtqLbsGA3abeZqQIVq8eFoy2fhsoLD/pdZaCy7JmWldsQ6MeCFVl81rNUal5G C6C6zPsNNW/SamhOyepKLNAI7HQJvR9F/ZJUwZO4Oa8ubnDTA2+G/q3YmieiCA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637803549; a=rsa-sha256; cv=none; b=HwzdqA3utq2+BZ0nhuZJJ/ybqE38OJ6WHO8xXQOlqzzFmGgIBzcA4ZN7mqnyjFAOsVnd0E pGrpXl27WYuUQEoy3qqFC7L2sPWeSr0aI1iHWak3x/kyjrHEHPVSwXi/JPqS5LKWIJRYxF EM4iPyWawD5nShHCUCrqVLhMngZ9m/vElBaJeM+Ac2h4voVV0b2aI1lSkaBN4A/uiwhxSF kVG+pImniBeqiWM9zXLglDlBtgqwJeWB7KcWR358HR6UN3TANszKG6wrGODvFU6510AQtY fOf9jmnWCmizSuCBRsu4Bx3QZcAHC6q1twhoK9goRKlDD2v+NmYpj9at6LzunQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fYaB24A4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.79 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=fYaB24A4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 850502E84A X-Spam-Score: -1.79 X-Migadu-Scanner: scn1.migadu.com X-TUID: HK95y274YLEK * gnu/packages/julia.scm (julia)[arguments]: Disable broken tests. --- gnu/packages/julia.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm index aff7e1a66f..649ffb8ee4 100644 --- a/gnu/packages/julia.scm +++ b/gnu/packages/julia.scm @@ -358,8 +358,8 @@ (define-public julia ;; Dates/io tests fail on master when networking is unavailable ;; https://github.com/JuliaLang/julia/issues/34655 (substitute* "stdlib/Dates/test/io.jl" - (("\"Dates.Date") "\"Date") - (("\"Dates.Time") "\"Time")) + (("using Dates") "import Dates +using Dates: @dateformat_str, Date, DateTime, DateFormat, Time")) ;; Upstream bug I found when packaging ;; https://github.com/JuliaLang/julia/issues/35785 (substitute* "test/file.jl" @@ -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 base-commit: c70eadeaed9367e45be3797a17d3a34e5f8f67cd -- 2.32.0