-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[test] Add missing postprocessing phase to executable stress tests #37978
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
Merged
Conversation
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
We need to run utils/swift-darwin-postprocess.py on every executable test on Darwin platforms to work around a dyld issue. (And to ad-hoc sign executables on platforms that need it.) Add a %target-codesign step to stress tests that are currently missing it.
shahmishal
approved these changes
Jun 17, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@swift-ci test |
Build failed |
@swift-ci test macOS platform |
Build failed |
@swift-ci test macOS platform |
Build failed |
@swift-ci test windows |
neonichu
added a commit
to swiftlang/swift-package-manager
that referenced
this pull request
Apr 13, 2023
A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin.
neonichu
added a commit
to swiftlang/swift-package-manager
that referenced
this pull request
Apr 13, 2023
A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin.
neonichu
added a commit
to swiftlang/swift-package-manager
that referenced
this pull request
Apr 15, 2023
* Re-enable disabled tests This re-enables a bunch of disabled tests, the hope is that they should now work that we have a newer superior Xcode installed on CI. If that happens to not be the case, we have `SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS` to disable these tests specifically for the macOS CI if needed. This change introduces the variable where expected to be needed, but doesn't set it. * Removed back deployment rpaths * Removed more Darwin rpaths into the toolchain A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin. * Do not include Swift runtime libs in `DYLD_LIBRARY_PATH` on Darwin rdar://96920453
neonichu
added a commit
to swiftlang/swift-package-manager
that referenced
this pull request
May 10, 2023
* Re-enable disabled tests This re-enables a bunch of disabled tests, the hope is that they should now work that we have a newer superior Xcode installed on CI. If that happens to not be the case, we have `SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS` to disable these tests specifically for the macOS CI if needed. This change introduces the variable where expected to be needed, but doesn't set it. * Removed back deployment rpaths * Removed more Darwin rpaths into the toolchain A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin. * Do not include Swift runtime libs in `DYLD_LIBRARY_PATH` on Darwin (cherry picked from commit 16fb1d2)
neonichu
added a commit
to swiftlang/swift-package-manager
that referenced
this pull request
May 12, 2023
* Re-enable disabled tests * Re-enable disabled tests This re-enables a bunch of disabled tests, the hope is that they should now work that we have a newer superior Xcode installed on CI. If that happens to not be the case, we have `SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS` to disable these tests specifically for the macOS CI if needed. This change introduces the variable where expected to be needed, but doesn't set it. * Removed back deployment rpaths * Removed more Darwin rpaths into the toolchain A macOS that contains the dyld issue worked around by swiftlang/swift#37978 has been deployed by Swift CI, so we can't do this anymore on Darwin. * Do not include Swift runtime libs in `DYLD_LIBRARY_PATH` on Darwin (cherry picked from commit 16fb1d2) * Skip SDK dependent tests in macOS bootstrap This is manifesting itself as `cannot find 'XCTAssertEqual' in scope` on Swift CI again, but instead of disabling these tests wholesale like we did before, we want to take a more targetted approach. (cherry picked from commit bc35b9c) * Put `CommandsTests` behind `SWIFTCI_DISABLE_SDK_DEPENDENT_TESTS` Looks like these tests are suffering from some of the same problems as `FunctionalTests` which makes sense since they're conceptually very similar. (cherry picked from commit 2cb0f2f)
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.
We need to run utils/swift-darwin-postprocess.py on every executable test on Darwin platforms to work around a dyld issue. (And to ad-hoc sign executables on platforms that need it.)
Add a %target-codesign step to stress tests that are currently missing it.