Skip to content

[test] Add dependency to the embedded-stdlib #70215

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
merged 1 commit into from
Dec 5, 2023

Conversation

drodriguez
Copy link
Contributor

When not building all, like the build-script does in CI, the tests did not have a dependency on embedded-stdlib, and those tests will fail to pass if one was using CMake/Ninja to execute the tests after something like ninja clean.

The dependency is added if the embedded stdlib is being built.

@drodriguez drodriguez requested a review from kubamracek December 4, 2023 23:23
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@drodriguez drodriguez enabled auto-merge (squash) December 5, 2023 01:08
@drodriguez
Copy link
Contributor Author

Linux: failed because the node restarted?
macOS: failed because sccache refused the connection?
Windows: failed because it seems that SWIFT_SHOULD_BUILD_EMBEDDED_STDLIB was true? I will add a check for the target.

When not building `all`, like the `build-script` does in CI, the tests
did not have a dependency on `embedded-stdlib`, and those tests will
fail to pass if one was using CMake/Ninja to execute the tests after
something like `ninja clean`.

The dependency is added if the embedded stdlib is being built.
@drodriguez drodriguez force-pushed the test-embedded-dependency branch from a220c2c to 5ae7d43 Compare December 5, 2023 18:10
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@drodriguez
Copy link
Contributor Author

@swift-ci please test Linux platform

@drodriguez drodriguez merged commit 4df6213 into swiftlang:main Dec 5, 2023
@drodriguez drodriguez deleted the test-embedded-dependency branch December 5, 2023 23:41
Catfish-Man pushed a commit to Catfish-Man/swift that referenced this pull request Jan 19, 2024
When not building `all`, like the `build-script` does in CI, the tests
did not have a dependency on `embedded-stdlib`, and those tests will
fail to pass if one was using CMake/Ninja to execute the tests after
something like `ninja clean`.

The dependency is added if the embedded stdlib is being built.
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.

2 participants