Skip to content

Commit

Permalink
Merge pull request #154 from JuliaParallel/eschnett/CPU_CORES
Browse files Browse the repository at this point in the history
Use Sys.CPU_CORES
  • Loading branch information
eschnett committed Jun 2, 2016
2 parents 8d32b44 + 778b3f3 commit 4588007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const coverage_opts =
JL_LOG_ALL => "all")

function runtests()
nprocs = clamp(CPU_CORES, 2, 4)
nprocs = clamp(Sys.CPU_CORES, 2, 4)
exename = joinpath(JULIA_HOME, Base.julia_exename())
testdir = dirname(@__FILE__)
istest(f) = endswith(f, ".jl") && f != "runtests.jl"
Expand Down

0 comments on commit 4588007

Please sign in to comment.