Skip to content

Commit 22e7422

Browse files
committed
tests: Fix load path
1 parent 070b608 commit 22e7422

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ tests = [
2323
]
2424
all_test_names = map(test -> replace(last(test), ".jl"=>""), tests)
2525
if PROGRAM_FILE != "" && realpath(PROGRAM_FILE) == @__FILE__
26-
push!(LOAD_PATH, joinpath(@__DIR__, ".."))
27-
push!(LOAD_PATH, @__DIR__)
26+
pushfirst!(LOAD_PATH, @__DIR__)
27+
pushfirst!(LOAD_PATH, joinpath(@__DIR__, ".."))
2828
using Pkg
2929
Pkg.activate(@__DIR__)
3030

@@ -71,7 +71,7 @@ end
7171

7272

7373
using Distributed
74-
addprocs(3)
74+
addprocs(3; exeflags="--project=$(joinpath(@__DIR__, ".."))")
7575

7676
include("imports.jl")
7777
include("util.jl")

0 commit comments

Comments
 (0)