-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix unicode tests for ios/tvOs #119459
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
Fix unicode tests for ios/tvOs #119459
Conversation
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.
Pull Request Overview
This PR temporarily enables unicode-related tests for iOS/tvOS platforms by removing [ActiveIssue] attributes that were previously skipping these tests. The purpose is to check if the tests are still failing for debugging purposes as part of work on issue #72951.
Key changes:
- Removal of test skipping attributes for iOS/tvOS platforms on unicode-related tests
- Enables previously disabled tests to run and provide current status information
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| ZipFileExtensions.ZipArchive.Extract.cs | Removes ActiveIssue attribute from ExtractToDirectoryExtension_Unicode test |
| ZipFile.Extract.cs | Removes ActiveIssue attribute from ExtractToDirectoryUnicode test |
| ZipFile.Extract.Stream.cs | Removes ActiveIssue attribute from ExtractToDirectoryUnicode test |
|
Note that we only run smoke tests for iOS/tvOS in PRs by default which doesn't include System.IO.Compression so you'd need to trigger the full pipeline. |
|
/azp list |
|
/azp run runtime-ioslike |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Test was failing because iOS/tvOS store filenames in decomposed form NFD and we were comparing against NFC words. They look the same but compare different, so we should normalize for them to match. |
src/libraries/Common/tests/System/IO/Compression/ZipTestHelper.cs
Outdated
Show resolved
Hide resolved
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
src/libraries/Common/tests/System/IO/Compression/ZipTestHelper.cs
Outdated
Show resolved
Hide resolved
src/libraries/Common/tests/System/IO/Compression/ZipTestHelper.cs
Outdated
Show resolved
Hide resolved
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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.
LGTM
src/libraries/Common/tests/System/IO/Compression/ZipTestHelper.cs
Outdated
Show resolved
Hide resolved
|
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/ba-g build failure is unrelated |
Fixes #72951
Normalize extra ascii characters to perform correct matching on apple platforms