Skip to content

Commit d80cec4

Browse files
committed
apply isrelocatable test to RelocationTestPkg4
1 parent 720a1ea commit d80cec4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/relocatedepot.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ if !test_relocated_depot
137137
cachefiles = Base.find_all_in_cache_path(pkg)
138138
rm.(cachefiles, force=true)
139139
@test Base.isprecompiled(pkg) == false
140+
@test Base.isrelocatable(pkg) == false # because not precompiled
140141
Base.require(pkg)
141142
@test Base.isprecompiled(pkg, ignore_loaded=true) == true
143+
@test Base.isrelocatable(pkg) == false
142144
end
143145
end
144146

@@ -285,6 +287,7 @@ else
285287
pkg = Base.identify_package(pkgname)
286288
# precompiled but not relocatable
287289
@test Base.isprecompiled(pkg) == true
290+
@test Base.isrelocatable(pkg) == false
288291
end
289292
end
290293

0 commit comments

Comments
 (0)