Weave.jl/test/runtests.jl

18 lines
488 B
Julia
Raw Normal View History

using Weave
using Base.Test
2014-12-06 18:16:45 +01:00
2014-12-09 10:34:26 +01:00
include("chunk_options.jl")
2014-12-09 21:17:20 +01:00
#include("pyplot_formats.jl") cause segfaults, but OK if run by itself
2014-12-06 18:16:45 +01:00
weave("documents/gadfly_markdown_test.jmd", doctype="github",plotlib="gadfly", informat="markdown")
result = readall(open("documents/gadfly_markdown_test.md"))
ref = readall(open("documents/gadfly_markdown_test_ref.md"))
@test result == ref
#Test winston only for 0.3
if VERSION.minor == 3
include("winston_formats.jl")
2014-12-06 23:19:08 +01:00
end
include("gadfly_formats.jl")