diff options
author | zimoun <zimon.toutoune@gmail.com> | 2021-12-01 16:54:39 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-12-04 19:50:32 +0200 |
commit | afd35e8e9c3eebda332f6c86809c733ea5003786 (patch) | |
tree | c51705c5c3e79ae23e826435c41d39bcd8986bb0 /gnu | |
parent | 630824a238fafa88245ec0cbee5e5d242739b230 (diff) | |
download | guix-afd35e8e9c3eebda332f6c86809c733ea5003786.tar.gz guix-afd35e8e9c3eebda332f6c86809c733ea5003786.zip |
gnu: julia-mutablearithmetics: Fix tests on i686-linux.
* gnu/packages/julia-xyz.scm (julia-mutablearithmetics)[arguments]<#:phases>:
Conditionally disable the failing test.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/julia-xyz.scm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 804e9e707f..aa9bbe1c1a 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -3229,6 +3229,22 @@ Julia, with type-driven, overloadable packing/unpacking functionality.") (sha256 (base32 "1isyj8h4nx96cr6892d154v8pw1nhr7mjyz5bd6ffr2mkzb2bq4f")))) (build-system julia-build-system) + (arguments + `(#:phases + ,@(if (target-x86-32?) + '((modify-phases %standard-phases + (add-after 'unpack 'remove-failing-test-i686 + (lambda _ + (substitute* "test/utilities.jl" + ;; Non-deterministic returned value, e.g., + ;; Expression: n == @allocated(f()) + ;; Evaluated: 240 == 120 + ;; and for some other values: + ;; Got correct result, please change to @test + ;; so @test_broken is not enough. + (("@test n == @allocated f\\(\\)") + " ")))))) + '(%standard-phases)))) (propagated-inputs `(("julia-offsetarrays" ,julia-offsetarrays))) (home-page "https://github.com/jump-dev/MutableArithmetics.jl") |