Add: julia-0.6.2
Former-commit-id: ccc667cf67d569f3fb3df39aa57c2134755a7551
This commit is contained in:
18
julia-0.6.2/share/julia/test/boundscheck.jl
Normal file
18
julia-0.6.2/share/julia/test/boundscheck.jl
Normal file
@@ -0,0 +1,18 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user