[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52186] [core-updates-frozen PATCH v2 03/17] gnu: julia-benchmarktoo
From: |
zimoun |
Subject: |
[bug#52186] [core-updates-frozen PATCH v2 03/17] gnu: julia-benchmarktools: Fix tests on i686-linux. |
Date: |
Wed, 1 Dec 2021 16:53:49 +0100 |
* gnu/packages/julia-xyz.scm (julia-benchmarktools)[arguments]<#:phases>:
Conditionnally disable the failing tests.
---
gnu/packages/julia-xyz.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index da1dae40f0..d668924bf7 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -298,6 +298,26 @@ (define-public julia-benchmarktools
(sha256
(base32 "1xz3kdrphp4b158pg7dwkiry49phs2fjjpdvk1hjpww5ykxacks8"))))
(build-system julia-build-system)
+ (arguments
+ `(#:phases
+ ,@(if (string-prefix? "i686" (or (%current-target-system)
+ (%current-system)))
+ '((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")
--
2.32.0
- [bug#52186] [core-updates-frozen PATCH v2 01/17] gnu: libunwind-julia: Fix build on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 02/17] gnu: julia-datastructures: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 03/17] gnu: julia-benchmarktools: Fix tests on i686-linux.,
zimoun <=
- [bug#52186] [core-updates-frozen PATCH v2 06/17] gnu: julia-lazyarrays: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 05/17] gnu: julia-configurations: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 07/17] gnu: julia-blockarrays: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 04/17] gnu: julia-finitedifferences: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 08/17] gnu: julia-mappedarrays: Fix tests on i686-linux., zimoun, 2021/12/01
- [bug#52186] [core-updates-frozen PATCH v2 09/17] gnu: julia-arrayinterface: Disable tests for i686., zimoun, 2021/12/01