https://github.com/JuliaLang/julia
Raw File
Tip revision: 63904b206fadc4ec8cf58d55a2f9511a4d28995d authored by Jeff Bezanson on 07 November 2017, 22:37:45 UTC
remove toplevel_eval_body
Tip revision: 63904b2
boundscheck.jl
# This file is a part of Julia. License is MIT: https://julialang.org/license

# run boundscheck tests on separate workers launched with --check-bounds={default,yes,no}

cmd = `$(Base.julia_cmd()) --depwarn=error --startup-file=no boundscheck_exec.jl`
if !success(pipeline(cmd; stdout=STDOUT, stderr=STDERR))
    error("boundscheck test failed, cmd : $cmd")
end

cmd = `$(Base.julia_cmd()) --check-bounds=yes --startup-file=no --depwarn=error boundscheck_exec.jl`
if !success(pipeline(cmd; stdout=STDOUT, stderr=STDERR))
    error("boundscheck test failed, cmd : $cmd")
end

cmd = `$(Base.julia_cmd()) --check-bounds=no --startup-file=no --depwarn=error boundscheck_exec.jl`
if !success(pipeline(cmd; stdout=STDOUT, stderr=STDERR))
    error("boundscheck test failed, cmd : $cmd")
end
back to top