Skip to content

test: Disable access merging optimization test with invariant asserts #68538

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

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Sep 15, 2023

Invariant checks add extra access markers and they made the optimized code different than the expected one and made the test failed. CI presets usually set --no-swift-stdlib-assertion, so no effect on CI except for buildbot_incremental_linux_crosscompile_wasm.

@kateinoigakukun kateinoigakukun changed the title test: disable access merging optimization test with invariant asserts test: Disable access merging optimization test with invariant asserts Sep 15, 2023
@kateinoigakukun kateinoigakukun added the test suite Area: test suite label Sep 15, 2023
@kateinoigakukun kateinoigakukun force-pushed the katei/disable-opt-test-cow-check branch from bc7ff09 to e496924 Compare September 15, 2023 05:53
@kateinoigakukun
Copy link
Member Author

@swift-ci Please smoke test

@kateinoigakukun
Copy link
Member Author

preset=buildbot_incremental_linux_crosscompile_wasm
@swift-ci Please test with preset Linux Platform

Invariant checks add extra access markers and they made the optimized
code different than the expected one and made the test failed.
CI presets usually set `--no-swift-stdlib-assertion`, so no effect on
CI except for `buildbot_incremental_linux_crosscompile_wasm`.
@kateinoigakukun kateinoigakukun force-pushed the katei/disable-opt-test-cow-check branch from e496924 to e5b2348 Compare September 15, 2023 13:15
@kateinoigakukun kateinoigakukun marked this pull request as ready for review September 15, 2023 13:16
@kateinoigakukun
Copy link
Member Author

It proved to repair the preset build with the depending cmake change: https://ci.swift.org/job/swift-PR-Linux-preset/71/, rebasing onto main.

@kateinoigakukun
Copy link
Member Author

@swift-ci Please smoke test

Copy link
Contributor

@atrick atrick left a comment

Choose a reason for hiding this comment

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

Thanks

@kateinoigakukun kateinoigakukun merged commit 915c4ea into swiftlang:main Sep 15, 2023
@kateinoigakukun kateinoigakukun deleted the katei/disable-opt-test-cow-check branch September 15, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test suite Area: test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants