From c20c9e1685c07bc276470029842e817a669b35ef Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 28 Jul 2021 15:53:59 +0300 Subject: gnu: julia-distances: Update flakey tests. * gnu/packages/julia-xyz.scm (julia-distances)[arguments]: Adjust the custom 'skip-flakey-tests phase. --- gnu/packages/julia-xyz.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/julia-xyz.scm') diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 71f701e7ca..0a45204abf 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -925,10 +925,13 @@ (define-public julia-distances (modify-phases %standard-phases (add-after 'unpack 'skip-flakey-tests (lambda _ + ;; Some combination of these tests fail nondeterministically + ;; each of the times this package is built. (substitute* "test/test_dists.jl" (("test dyz ≥") "test_nowarn dyz ≥") (("test dist\\(y, x") "test_nowarn dist(y, x") - (("test dist\\(z, x") "test_nowarn dist(z, x"))))))) + (("test dist\\(z, x") "test_nowarn dist(z, x") + (("test dist\\(z, y") "test_nowarn dist(z, y"))))))) (propagated-inputs `(("julia-statsapi" ,julia-statsapi))) (native-inputs -- cgit v1.2.3