Skip to content

[Tests] Remove all hard-coded macOS targets in explicit module tests #1690

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

Conversation

cachemeifyoucan
Copy link
Contributor

Remove all the hard coded macOS tests for module scanning and planning. Feed stdlib and shims into the tests instead to support all targets for those tests.

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@cachemeifyoucan
Copy link
Contributor Author

Holding on. Bots are actually not green for Linux as the test failures are hidden.

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@@ -1,4 +1,4 @@
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 110000
#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__-0 < 1050

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am actually intended to have this to be false on Linux/Windows.

@cachemeifyoucan cachemeifyoucan force-pushed the eng/PR-module-plan-no-hard-coded-targets branch 2 times, most recently from 17f0319 to c3b367e Compare September 6, 2024 00:01
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@cachemeifyoucan cachemeifyoucan force-pushed the eng/PR-module-plan-no-hard-coded-targets branch from c3b367e to bb03664 Compare September 6, 2024 00:10
Remove all the hard coded macOS tests for module scanning and planning.
Feed stdlib and shims into the tests instead to support all targets for
those tests.
@cachemeifyoucan cachemeifyoucan force-pushed the eng/PR-module-plan-no-hard-coded-targets branch from bb03664 to 8bc8927 Compare September 6, 2024 00:17
@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test

@cachemeifyoucan
Copy link
Contributor Author

@swift-ci please test windows platform

@cachemeifyoucan cachemeifyoucan merged commit f45136e into swiftlang:main Sep 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants