Skip to content

[android] Enable some tests that should pass on Android. #24550

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

Conversation

drodriguez
Copy link
Contributor

Some tests are limited to only Linux, when they should also pass for
Android.

Additionally, InputStream.swift.gyb was disabled for Android ARMv7, but
wasn't for Android AArch64, which allow me to find the error on it and
fix it on #24521.

Finally, StringLowercasedUppercased is interesting in Android because it
checks the used ICU is correct for performing the tasks that the stdlib
needs.

Some tests are limited to only Linux, when they should also pass for
Android.

Additionally, InputStream.swift.gyb was disabled for Android ARMv7, but
wasn't for Android AArch64, which allow me to find the error on it and
fix it on swiftlang#24521.

Finally, StringLowercasedUppercased is interesting in Android because it
checks the used ICU is correct for performing the tasks that the stdlib
needs.
@drodriguez drodriguez requested a review from compnerd May 7, 2019 00:59
@drodriguez
Copy link
Contributor Author

@swift-ci please test

@@ -5,7 +5,7 @@
// directly. It is not specific to Linux, it is just that on
// Apple platforms we are using the NSString bridge right now.

// REQUIRES: OS=linux-gnu
// REQUIRES-ANY: OS=linux-gnu, OS=linux-android, OS=linux-androideabi
Copy link
Member

Choose a reason for hiding this comment

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

Nifty! I didn't know about REQUIRES-ANY.

@drodriguez drodriguez merged commit 3658b6c into swiftlang:master May 7, 2019
@drodriguez drodriguez deleted the android-enable-some-more-tests branch July 16, 2019 23:40
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