From ac1019ad6a7fcd3d4de4c58a0d5e681f8993207c Mon Sep 17 00:00:00 2001 From: Alfred Wong Date: Tue, 27 Jul 2021 11:35:35 +0100 Subject: [PATCH] prepend empty Vis.draw() call to Visualization testset --- test/testsets/Visualization.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/testsets/Visualization.jl b/test/testsets/Visualization.jl index 1a0408724..aa3ecddd5 100644 --- a/test/testsets/Visualization.jl +++ b/test/testsets/Visualization.jl @@ -5,6 +5,10 @@ @testset "Visualization" begin if get(ENV, "CI", nothing) == "true" && Sys.iswindows() return #OpenGL is unreliable on headless Windows VMs on github. This fails unpredictably and prevents pull requests from being approved. These tests are not essential, so turn them off when running on windows. else + # empty Vis.draw() call to clear Makie @info message: + # "Info: Makie/Makie is caching fonts, this may take a while. Needed only on first run!" + Vis.draw() + # test that this all at least runs surf1 = AcceleratedParametricSurface(TestData.beziersurface(), 15) surf2 = AcceleratedParametricSurface(TestData.upsidedownbeziersurface(), 15)