mirror of https://github.com/mpastell/Weave.jl
Gadfly tests should now pass also with Julia 0.4
parent
8ae1cbd920
commit
ca6da03bcb
|
@ -13,9 +13,11 @@ test/documents/*.md
|
|||
test/documents/*.rst
|
||||
test/documents/*.html
|
||||
test/documents/*.pdf
|
||||
test/documents/chunk_options.jl
|
||||
!test/documents/*ref.*
|
||||
|
||||
|
||||
|
||||
tmp/
|
||||
.idea
|
||||
*.*~
|
||||
|
|
|
@ -4,13 +4,14 @@ using Base.Test
|
|||
include("chunk_options.jl")
|
||||
#include("pyplot_formats.jl") cause segfaults, but OK if run by itself
|
||||
|
||||
#Test Gadfly and markdown reader, Gadfly only works with 0.3
|
||||
if VERSION.minor == 3
|
||||
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
|
||||
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")
|
||||
include("gadfly_formats.jl")
|
||||
end
|
||||
|
||||
include("gadfly_formats.jl")
|
||||
|
|
Loading…
Reference in New Issue