[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/17: gnu: julia-benchmarktools: Fix tests on i686-linux.
From: |
guix-commits |
Subject: |
03/17: gnu: julia-benchmarktools: Fix tests on i686-linux. |
Date: |
Sat, 4 Dec 2021 12:54:04 -0500 (EST) |
efraim pushed a commit to branch core-updates-frozen
in repository guix.
commit 2a749f34e55becdf9aebb4b883022c7bd61fed45
Author: zimoun <zimon.toutoune@gmail.com>
AuthorDate: Wed Dec 1 16:53:49 2021 +0100
gnu: julia-benchmarktools: Fix tests on i686-linux.
* gnu/packages/julia-xyz.scm (julia-benchmarktools)[arguments]<#:phases>:
Conditionnally disable the failing tests.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/julia-xyz.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 4c6f8c1..6ef040f 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -298,6 +298,25 @@ the entries on the bands.")
(sha256
(base32 "1xz3kdrphp4b158pg7dwkiry49phs2fjjpdvk1hjpww5ykxacks8"))))
(build-system julia-build-system)
+ (arguments
+ `(#:phases
+ ,@(if (target-x86-32?)
+ '((modify-phases %standard-phases
+ (add-after 'unpack 'remove-failing-tests-i686
+ (lambda _
+ (substitute* "test/GroupsTests.jl"
+ (("@test sprint\\(show, g1\\)")
+ "@test_broken sprint(show, g1)")
+ (("@test sprint\\(show, g1; context = :boundto => 1\\)")
+ "@test_broken sprint(show, g1; context = :boundto => 1)")
+ (("@test sprint\\(show, g1; context = :limit => false\\)")
+ "@test_broken sprint(show, g1; context = :limit =>
false)")
+ (("@test @test_deprecated") "@test_broken"))
+ (substitute* "test/ExecutionTests.jl"
+ ;; Evaluated: 12 == 8
+ (("@test @ballocated\\(Ref\\(1\\)\\)")
+ "@test_broken @ballocated(Ref(1))"))))))
+ '(%standard-phases))))
(propagated-inputs `(("julia-json" ,julia-json)))
(home-page "https://github.com/JuliaCI/BenchmarkTools.jl";)
(synopsis "Benchmarking framework for the Julia language")
- branch core-updates-frozen updated (cc491ea -> bd74691), guix-commits, 2021/12/04
- 03/17: gnu: julia-benchmarktools: Fix tests on i686-linux.,
guix-commits <=
- 01/17: gnu: libunwind-julia: Fix build on i686-linux., guix-commits, 2021/12/04
- 02/17: gnu: julia-datastructures: Fix tests on i686-linux., guix-commits, 2021/12/04
- 06/17: gnu: julia-lazyarrays: Fix tests on i686-linux., guix-commits, 2021/12/04
- 07/17: gnu: julia-blockarrays: Fix tests on i686-linux., guix-commits, 2021/12/04
- 09/17: gnu: julia-arrayinterface: Disable tests for i686., guix-commits, 2021/12/04
- 04/17: gnu: julia-finitedifferences: Fix tests on i686-linux., guix-commits, 2021/12/04
- 05/17: gnu: julia-configurations: Fix tests on i686-linux., guix-commits, 2021/12/04
- 08/17: gnu: julia-mappedarrays: Fix tests on i686-linux., guix-commits, 2021/12/04
- 12/17: gnu: julia-intervalsets: Fix tests on i686-linux., guix-commits, 2021/12/04
- 14/17: gnu: julia-mutablearithmetics: Fix tests on i686-linux., guix-commits, 2021/12/04