Tests fail when package is precompiled
sbromberger opened this issue · 2 comments
sbromberger commented
julia> versioninfo()
Julia Version 0.4.0-dev+6574
Commit ebd7230 (2015-08-10 17:56 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin14.4.0)
CPU: Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell)
LAPACK: libopenblas
LIBM: libopenlibm
LLVM: libLLVM-3.3
julia> Pkg.test("LightXML")
INFO: Computing test dependencies for LightXML...
INFO: No packages to install, update or remove
INFO: Testing LightXML
running parse.jl ...
ERROR: LoadError: LoadError: UndefRefError: access to undefined reference
in parse_string at /Users/seth/.julia/v0.4/LightXML/src/document.jl:94
in include at /usr/local/julia-latest/lib/julia/sys.dylib
in include_from_node1 at /usr/local/julia-latest/lib/julia/sys.dylib
in anonymous at no file:6
in include at /usr/local/julia-latest/lib/julia/sys.dylib
in include_from_node1 at /usr/local/julia-latest/lib/julia/sys.dylib
in process_options at /usr/local/julia-latest/lib/julia/sys.dylib
in _start at /usr/local/julia-latest/lib/julia/sys.dylib
while loading /Users/seth/.julia/v0.4/LightXML/test/parse.jl, in expression starting on line 24
while loading /Users/seth/.julia/v0.4/LightXML/test/runtests.jl, in expression starting on line 3
========================================================[ ERROR: LightXML ]=========================================================
failed process: Process(`/usr/local/julia-latest/bin/julia --check-bounds=yes --code-coverage=none --color=yes /Users/seth/.julia/v0.4/LightXML/test/runtests.jl`, ProcessExited(1)) [1]
====================================================================================================================================
INFO: No packages to install, update or remove
ERROR: LightXML had test errors
in error at /usr/local/julia-latest/lib/julia/sys.dylib
in test at pkg/entry.jl:746
in anonymous at pkg/dir.jl:31
in cd at file.jl:22
in cd at pkg/dir.jl:31
in test at pkg.jl:71
(I noticed this in LightGraphs, which uses LightXML as a dependency now. It's failing on parse_file()
(line 88) there.)
sbromberger commented
Ah, it appears it might be a problem with precompilation I'm trying to add to LightGraphs. Stand by....
sbromberger commented
See #31