Skip to content

Commit 96a6d45

Browse files
authored
disable plot test on linux
1 parent 4f5c2d5 commit 96a6d45

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/runtests.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,11 @@ end
122122
end
123123

124124
@testset "Plots as PNG images" begin
125-
@test_reference "references/heatmap.png" heatmap([1 0; 0 1]) by=psnr_equality(15)
126-
@test_reference "references/scatter.png" scatter([(0,0),(1,0),(0,1),(1,1)],ms=8)
125+
# Test disabled on linux because: https://github.com/JuliaPlots/Plots.jl/issues/2127
126+
if !Sys.islinux()
127+
@test_reference "references/heatmap.png" heatmap([1 0; 0 1]) by=psnr_equality(15)
128+
@test_reference "references/scatter.png" scatter([(0,0),(1,0),(0,1),(1,1)], ms=8)
129+
end
127130
end
128131

129132
using DataFrames, CSVFiles

0 commit comments

Comments
 (0)