Skip to content

Commit

Permalink
fix #12241, running tests from outside test/
Browse files Browse the repository at this point in the history
put back `cd` that was removed in #8745
  • Loading branch information
tkelman committed Jul 25, 2015
1 parent bbd3745 commit c6745d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

include("choosetests.jl")
tests, net_on = choosetests(ARGS)
let n = 1
cd(dirname(@__FILE__)) do
n = 1
if net_on
n = min(8, CPU_CORES, length(tests))
n > 1 && addprocs(n; exeflags=`--check-bounds=yes --depwarn=error`)
Expand Down

0 comments on commit c6745d2

Please sign in to comment.