-
Notifications
You must be signed in to change notification settings - Fork 33
Update Objectfile to 0.4.0 #363
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,7 +184,7 @@ end | |
# Since Julia v1.9 Zlib_jll doesn't have logs directory at all | ||
@static if VERSION < v"1.9-DEV" | ||
zlib_log_files = if os(platform) == "macos" | ||
["Zlib.log.gz", "fix_identity_mismatch_libz.1.2.11.dylib.log.gz", "ldid_libz.1.2.11.dylib.log.gz"] | ||
["Zlib.log.gz", "fix_identity_mismatch_libz.1.2.12.dylib.log.gz", "ldid_libz.1.2.12.dylib.log.gz"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why did you change this? How did it work before? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I changed it because this test failed. I don't know how it worked before – I assume the test was written when There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was very confused about why this didn't fail in CI (nor it failed for me recently), but this code is run only on macOS (and running Docker in macOS in CI is a mess: #133). I guess the change is fine then. |
||
else | ||
["Zlib.log.gz"] | ||
end | ||
|
@@ -338,13 +338,15 @@ end | |
] | ||
platform = Platform("x86_64", "linux") | ||
test_setup_dependencies(prefix, dependencies, platform) | ||
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 | ||
# "asan", "msan", or "tsan" symbols | ||
@test !any(contains("asan_"), symbols) | ||
@test !any(contains("msan_"), symbols) | ||
@test !any(contains("tsan_"), symbols) | ||
readmeta(joinpath(destdir(dir, platform), "lib", "libz.so")) do ohs | ||
foreach(ohs) do oh | ||
symbols = symbol_name.(Symbols(oh)) | ||
# The platform didn't specify the sanitizer, the library shouldn't contain | ||
# "asan", "msan", or "tsan" symbols | ||
@test !any(contains("asan_"), symbols) | ||
@test !any(contains("msan_"), symbols) | ||
@test !any(contains("tsan_"), symbols) | ||
end | ||
end | ||
end | ||
with_temp_project() do dir | ||
|
@@ -354,12 +356,14 @@ end | |
] | ||
platform = Platform("x86_64", "linux"; sanitize="memory") | ||
test_setup_dependencies(prefix, dependencies, platform) | ||
readmeta(joinpath(destdir(dir, platform), "lib", "libz.so")) do oh | ||
symbols = symbol_name.(Symbols(oh)) | ||
# Make sure the library contains only "msan" symbols | ||
@test !any(contains("asan_"), symbols) | ||
@test any(contains("msan_"), symbols) | ||
@test !any(contains("tsan_"), symbols) | ||
readmeta(joinpath(destdir(dir, platform), "lib", "libz.so")) do ohs | ||
foreach(ohs) do oh | ||
symbols = symbol_name.(Symbols(oh)) | ||
# Make sure the library contains only "msan" symbols | ||
@test !any(contains("asan_"), symbols) | ||
@test any(contains("msan_"), symbols) | ||
@test !any(contains("tsan_"), symbols) | ||
end | ||
end | ||
end | ||
end | ||
|
Uh oh!
There was an error while loading. Please reload this page.