Skip to content

[5.8] Fix Test in Release Build #63824

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
Feb 22, 2023
Merged

Conversation

ktoso
Copy link
Contributor

@ktoso ktoso commented Feb 22, 2023

Original PR: #63823
Description: The test wrongly asserted on // basic block name which are not available in a release build.

Risk: Low; test only change, confirmed using a local Release build that the changes are correct and tests pass with them.

Resolves: rdar://105745598


This fixes ninja check-swift-validation in the Release+Distribution build as the block name is set under #ifndef NDEBUG.

Thanks @kyulee-com for the quick fix before I got to it 🙏

This fixes `ninja check-swift-validation` in the Release+Distribution build as the block name is set under `#ifndef NDEBUG`.
@ktoso ktoso requested a review from a team as a code owner February 22, 2023 06:27
@ktoso ktoso requested a review from glessard February 22, 2023 06:27
@ktoso
Copy link
Contributor Author

ktoso commented Feb 22, 2023

@swift-ci please test

@ktoso ktoso added the concurrency Feature: umbrella label for concurrency language features label Feb 22, 2023
@glessard
Copy link
Contributor

Thanks @kyulee-com and @ktoso.
Force-merging because this is blocking the 5.8 toolchain builds.

@glessard glessard merged commit b7b428b into swiftlang:release/5.8 Feb 22, 2023
@AnthonyLatsis AnthonyLatsis added the 🍒 release cherry pick Flag: Release branch cherry picks label May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concurrency Feature: umbrella label for concurrency language features 🍒 release cherry pick Flag: Release branch cherry picks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants