Skip to content

Commit

Permalink
fix depot filter for avoiding relocation
Browse files Browse the repository at this point in the history
  • Loading branch information
fatteneder authored Apr 1, 2024
1 parent a9f3f3f commit f769fdf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/relocatedepot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ if !test_relocated_depot
test_harness(empty_depot_path=false) do
push!(LOAD_PATH, @__DIR__)
# skip this dir to make the pkgimage not relocatable
filter!(!=(@__DIR__), DEPOT_PATH)
filter!(DEPOT_PATH) do depot
!startswith(@__DIR__, depot)
end
@show LOAD_PATH
@show DEPOT_PATH
pkg = Base.identify_package(pkgname)
Expand Down

0 comments on commit f769fdf

Please sign in to comment.