https://github.com/JuliaLang/julia
Raw File
Tip revision: 2ac304dfba75fad148d4070ef4f8a2e400c305bb authored by Tony Kelman on 18 March 2016, 00:58:17 UTC
Tag v0.4.5
Tip revision: 2ac304d
parallel.jl
# This file is a part of Julia. License is MIT: http://julialang.org/license

# Run the parallel test outside of the main driver, since it runs off its own
# set of workers.

cmd = `$(Base.julia_cmd()) --check-bounds=yes --depwarn=error parallel_exec.jl`

(strm, proc) = open(cmd)
errors = readall(strm)
wait(proc)
if !success(proc) && ccall(:jl_running_on_valgrind,Cint,()) == 0
    println(errors);
    error("Parallel test failed, cmd : $cmd")
end
back to top