[test] Prepare tests to run on Android#2939
Merged
swift-ci merged 1 commit intoswiftlang:masterfrom Jun 11, 2016
Merged
Conversation
- Expand operating system checks such that Glibc is properly imported on Android. - For tests that are unsupported on platforms that normally do not support an Objective-C runtime, expand the unsupported checks to include Android. - Pass the `-sdk` parameter when invoking `%target-sil-opt`. - Expect failures when testing semaphores, which are not included in Android Bionic.
| @@ -1,4 +1,4 @@ | |||
| // RUN: for x in %platform-sdk-overlay-dir/*.swiftmodule; do [[ $(basename "$x") = Swift.swiftmodule ]] && continue; llvm-bcanalyzer $x | FileCheck %s; %target-sil-opt -enable-sil-verify-all $x > /dev/null; done | |||
| // RUN: for x in %platform-sdk-overlay-dir/*.swiftmodule; do [[ $(basename "$x") = Swift.swiftmodule ]] && continue; llvm-bcanalyzer $x | FileCheck %s; %target-sil-opt -sdk %sdk -enable-sil-verify-all $x > /dev/null; done | |||
Contributor
Author
There was a problem hiding this comment.
For more discussion on this change, see: https://github.com/apple/swift/pull/1714/files#r59641994
2 tasks
Contributor
Author
|
@swift-ci please test |
Contributor
|
@swift-ci Please smoke test and merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's in this pull request?
-sdkparameter when invoking%target-sil-opt.Related pull request: #1714
Before merging this pull request to apple/swift repository:
Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
Validation Testing
Lint Testing
Note: Only members of the Apple organization can trigger swift-ci.