Skip to content

Commit

Permalink
Work around test failure in Julia nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Dec 29, 2023
1 parent 7d1531e commit 0e87b0c
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions test/dependencies.jl
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,13 @@ end
get_addable_spec("Zlib_jll", v"1.2.12+4")
]
platform = Platform("x86_64", "linux")
@test_logs setup_dependencies(prefix, dependencies, platform)
if VERSION >= v"1.11.0-"
# A warning is issued in Julia v1.11:
# <https://github.com/JuliaPackaging/BinaryBuilderBase.jl/issues/358>.
setup_dependencies(prefix, dependencies, platform)
else
@test_logs setup_dependencies(prefix, dependencies, platform)
end
readmeta(joinpath(destdir(dir, platform), "lib", "libz.so")) do oh
symbols = symbol_name.(Symbols(oh))
# The platform didn't specify the sanitizer, the library shouldn't contain
Expand All @@ -341,7 +347,13 @@ end
get_addable_spec("Zlib_jll", v"1.2.12+4")
]
platform = Platform("x86_64", "linux"; sanitize="memory")
@test_logs setup_dependencies(prefix, dependencies, platform)
if VERSION >= v"1.11.0-"
# A warning is issued in Julia v1.11:
# <https://github.com/JuliaPackaging/BinaryBuilderBase.jl/issues/358>.
setup_dependencies(prefix, dependencies, platform)
else
@test_logs setup_dependencies(prefix, dependencies, platform)
end
readmeta(joinpath(destdir(dir, platform), "lib", "libz.so")) do oh
symbols = symbol_name.(Symbols(oh))
# Make sure the library contains only "msan" symbols
Expand Down

0 comments on commit 0e87b0c

Please sign in to comment.