Skip to content

Commit

Permalink
apply isrelocatable test to RelocationTestPkg4
Browse files Browse the repository at this point in the history
  • Loading branch information
fatteneder committed Apr 1, 2024
1 parent 720a1ea commit d80cec4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/relocatedepot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ if !test_relocated_depot
cachefiles = Base.find_all_in_cache_path(pkg)
rm.(cachefiles, force=true)
@test Base.isprecompiled(pkg) == false
@test Base.isrelocatable(pkg) == false # because not precompiled
Base.require(pkg)
@test Base.isprecompiled(pkg, ignore_loaded=true) == true
@test Base.isrelocatable(pkg) == false
end
end

Expand Down Expand Up @@ -285,6 +287,7 @@ else
pkg = Base.identify_package(pkgname)
# precompiled but not relocatable
@test Base.isprecompiled(pkg) == true
@test Base.isrelocatable(pkg) == false
end
end

Expand Down

0 comments on commit d80cec4

Please sign in to comment.