From c6745d22c93c665ac8f700fbb651b53ac0a61c2e Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Fri, 24 Jul 2015 17:46:45 -0700 Subject: [PATCH] fix #12241, running tests from outside test/ put back `cd` that was removed in #8745 --- test/runtests.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 3c61edfbf62b4d..097b8108ff27c8 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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`)