Skip to content

Commit ebb44ee

Browse files
committed
1 parent 8091f55 commit ebb44ee

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/runtests.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Work around JuliaLang/Pkg.jl#2500
2+
if VERSION < v"1.8-"
3+
test_project = first(Base.load_path())
4+
preferences_file = "LocalPreferences.toml"
5+
test_preferences_file = joinpath(dirname(test_project), "LocalPreferences.toml")
6+
if isfile(preferences_file) && !isfile(test_preferences_file)
7+
cp(preferences_file, test_preferences_file)
8+
end
9+
end
10+
111
using LLVM
212
using Test
313

0 commit comments

Comments
 (0)