Skip to content

Commit 21ca5ff

Browse files
authored
We need to go into examples/MyLib/build/ and dev this copy of PackageCompiler.jl
1 parent 6b680a4 commit 21ca5ff

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/runtests.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,15 @@ end
271271
end
272272

273273
cd(rootdir_examples_MyLib) do
274+
# We need to go into examples/MyLib/build/ and dev this copy of PackageCompiler.jl
275+
code = """
276+
import Pkg
277+
Pkg.develop(;path = "$(rootdir)")
278+
"""
279+
cmd = `$(Base.julia_cmd()[1]) --project="./build" -e "$(code)"`
280+
run(cmd)
281+
282+
274283
# We don't want to assume that the machine running the tests has `make` installed
275284
# and available in the PATH. Therefore, we use the `GNUMake_jll.jl`` package.
276285
my_run(`$(GNUMake_jll.make())`)

0 commit comments

Comments
 (0)