From 4aa9d74a28bc7d97d8b7995f042aa5813f050afc Mon Sep 17 00:00:00 2001 From: t-bltg Date: Fri, 23 Jul 2021 20:07:08 +0200 Subject: [PATCH] more strict on tolerance - drop tol for obsolete version --- test/runtests.jl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 4bea6dd0..f29e1153 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -70,12 +70,7 @@ include("imgcomp.jl") Random.seed!(PLOTS_SEED) default(show=false, reuse=true) is_ci() = get(ENV, "CI", "false") == "true" -const PLOTS_IMG_TOL = parse( - Float64, get( - ENV, "PLOTS_IMG_TOL", - VERSION < v"1.4" && Sys.iswindows() ? "1e-1" : is_ci() ? "1e-2" : "1e-3" - ) -) +const PLOTS_IMG_TOL = parse(Float64, get(ENV, "PLOTS_IMG_TOL", is_ci() ? "1e-4" : "1e-5")) ## Uncomment the following lines to update reference images for different backends