File: parallel.jl

package info (click to toggle)
julia 0.4.7-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 22,128 kB
  • ctags: 15,440
  • sloc: lisp: 146,606; ansic: 96,638; sh: 12,615; cpp: 11,846; makefile: 3,431; python: 1,005; pascal: 856; xml: 585; f90: 415; java: 343; asm: 86; perl: 77
file content (14 lines) | stat: -rw-r--r-- 451 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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