Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix compiler options test windows Julia 1.11 #2956

Merged
merged 1 commit into from
Jul 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions test/packages/Basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -694,15 +694,15 @@ import Malt
compilation_dir_testA = joinpath(compilation_dir, "PlutoPkgTestA")
precomp_entries() = readdir(mkpath(compilation_dir_testA))

# clear cache
let
# sleep workaround for julia issue 34700.
sleep(3)
isdir(compilation_dir_testA) && rm(compilation_dir_testA; force=true, recursive=true)
end
@test precomp_entries() == []


@testset "Match compiler options: $(match)" for match in [true, false]
# clear cache
let
# sleep workaround for julia issue 34700.
sleep(3)
isdir(compilation_dir_testA) && rm(compilation_dir_testA; force=true, recursive=true)
end
@test precomp_entries() == []

before_sync = precomp_entries()

Expand Down Expand Up @@ -763,7 +763,7 @@ import Malt
full_logs = join([log["msg"][1] for log in notebook.cells[1].logs], "\n")

# There should be a log message about loading the cache.
VERSION >= v"1.8.0-aaa" && @test occursin(r"Loading.*cache"i, full_logs)
VERSION >= v"1.9.0-aaa" && @test occursin(r"Loading.*cache"i, full_logs)
# There should NOT be a log message about rejecting the cache.
@test !occursin(r"reject.*cache"i, full_logs)

Expand Down
Loading