We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9458b39 commit e6b8c01Copy full SHA for e6b8c01
test/runtests.jl
@@ -3,6 +3,16 @@ using Dates
3
import REPL
4
using Printf: @sprintf
5
6
+# work around JuliaLang/Pkg.jl#2500
7
+if VERSION < v"1.8"
8
+ test_project = first(Base.load_path())
9
+ preferences_file = joinpath(dirname(@__DIR__), "LocalPreferences.toml")
10
+ test_preferences_file = joinpath(dirname(test_project), "LocalPreferences.toml")
11
+ if isfile(preferences_file) && !isfile(test_preferences_file)
12
+ cp(preferences_file, test_preferences_file)
13
+ end
14
+end
15
+
16
# parse some command-line arguments
17
function extract_flag!(args, flag, default=nothing)
18
for f in args
0 commit comments