[Test-only] Cherry-picks for sanitizer remote testing#12111
Merged
ndrewh merged 7 commits intoswiftlang:stable/21.xfrom Jan 18, 2026
Merged
[Test-only] Cherry-picks for sanitizer remote testing#12111ndrewh merged 7 commits intoswiftlang:stable/21.xfrom
ndrewh merged 7 commits intoswiftlang:stable/21.xfrom
Conversation
…other Apple Platforms (llvm#150994) This commit addresses a longstanding TODO comment, by doing the following: * Modifies the CMakeLists to add the new test configs * Modifies the relevant lit file to add the required envs * Fixes the FileCheck match in `Darwin/symbolizer-function-offset-atos.cpp` * XFAILs any appropriate tests rdar://107758331 (cherry picked from commit 365ae7a)
…lvm#174522) Darwin supports running tests on targets other than the host machine e.g. simulators. In such configurations, tests are run via a wrapper script (e.g. iossim_run.py). This refactors the lit test config to use a dedicated option to distinguish test suites that run on the host from those that run in any other configuration. This will allow the test suites to distinguish a local osx configuration from a "remote" one. rdar://167591463 (cherry picked from commit 305c413)
…token_length_test (llvm#171812) This test is currently XPASSing on the iossim CI. rdar://166219043 (cherry picked from commit f548902)
rdar://166246774 (cherry picked from commit de29f24)
…lvm#174522) (llvm#174642) The option added in llvm#174522 breaks simulator tests, since `set_default` overrides `False` values with the default. Since these options are either string or boolean, this patches set_default to override only un-set or empty string values (empty string is not truth-y and therefore would be overwritten by defaults currently, so this is NFCI) (cherry picked from commit 0aea22f)
…r malloc (llvm#153195) rdar://62141527 (cherry picked from commit 2e9494f)
…st targets (llvm#174905) Some tests are already supported on "remote" devices and simulators. However, there is currently no way to distinguish a remote macOS host from a local one. This adds the darwin-remote feature which is common to all test targets which use a wrapper script (e.g. iossim_run.py). rdar://167735355 --------- Co-authored-by: Dan Blackwell <danblackwell95@gmail.com> (cherry picked from commit 65945ec)
Author
|
@swift-ci please test |
Author
|
@swift-ci please test linux |
|
@swift-ci please test llvm |
DanBlackwell
approved these changes
Jan 13, 2026
Author
|
@swift-ci please test llvm |
Author
|
llvm test fails look unrelated considering this is a runtime-only change. I've run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[compiler-rt] [Darwin] Add darwin-remote feature for remote darwin test targets (llvm#174905)
[ASan] Re-enable duplicate_os_log_reports test and include cstdlib for malloc (llvm#153195)
[compiler-rt] Support default-True lit config options (follow up to llvm#174522) (llvm#174642)
[sanitizer_common][test-only] Mark popen xfail on iossim (llvm#171814)
[sanitizer_common][test-only] Remove xfail for darwin ubsan on dedup_token_length_test (llvm#171812)
[NFCI] [Darwin] Add APPLE_TARGET_IS_HOST lit option to compiler-rt (llvm#174522)
[compiler-rt][sanitizer_common] Make sanitizer_common tests work for other Apple Platforms (llvm#150994)