BuildExecutable.jl
BuildExecutable.jl copied to clipboard
Test fails Ubuntu 16 Julia 0.5.2
Hi!
I am running Pkg.test("BuildExecutable")
after starting Julia with admin privileges sudo Julia
and using the latest clone:
julia> Pkg.status()
20 required packages:
- ArrayViews 0.6.4
- Atom 0.5.10
- BuildExecutable 0.1.2+ master
and I get the error,
Error During Test
Test threw an exception of type ArgumentError
Expression: build_executable(exename,script,targetdir,"native"; force=false) == 0
ArgumentError: '/home/loic/.julia/v0.5/BuildExecutable/test/test_dir/libssh2.so.1' exists. `remove_destination=true` is required to remove '/home/loic/.julia/v0.5/BuildExecutable/test/test_dir/libssh2.so.1' before copying.
which is odd since, as far as I can tell, that directory is not even created prior to running the test (in reference to a comment from #5 that make sure to delete files from targetdir beforehand)
What am I missing? Thanks!
Loic