tests
This commit is contained in:
parent
b9f9d8160d
commit
e3d653a8d9
@ -1,11 +1,13 @@
|
||||
|
||||
# include this first to help with crashing??
|
||||
using Gtk
|
||||
# # include this first to help with crashing??
|
||||
# using Gtk
|
||||
|
||||
# don't let pyplot use a gui... it'll crash
|
||||
# note: Agg will set gui -> :none in PyPlot
|
||||
ENV["MPLBACKEND"] = "Agg"
|
||||
import PyPlot
|
||||
try
|
||||
@eval import PyPlot
|
||||
end
|
||||
|
||||
# macro test_approx_eq_sigma_eps(A, B, sigma, eps)
|
||||
|
||||
|
||||
@ -53,12 +53,14 @@ facts("Gadfly") do
|
||||
|
||||
end
|
||||
|
||||
facts("PyPlot") do
|
||||
@fact pyplot() --> Plots.PyPlotPackage()
|
||||
@fact backend() --> Plots.PyPlotPackage()
|
||||
image_comparison_tests(:pyplot, skip=[19], eps=img_eps)
|
||||
end
|
||||
|
||||
if VERSION >= v"0.4-"
|
||||
facts("PyPlot") do
|
||||
@fact pyplot() --> Plots.PyPlotPackage()
|
||||
@fact backend() --> Plots.PyPlotPackage()
|
||||
image_comparison_tests(:pyplot, skip=[19], eps=img_eps)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
# catch err
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user