Skip to content
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

rustbuild: Implement testing for Android #34567

Merged
merged 1 commit into from
Jul 2, 2016

Conversation

alexcrichton
Copy link
Member

This commit enhances the rustbuild support for testing Android to the same level
of parity as the makefiles. This involved:

  • A new step to copy the standard library and other shared objects to the
    emulator. This is injected as a dependency of all test suites for Android.
  • Appropriate arguments are now passed through to compiletest to ensure that it
    can run tests.
  • When testing the standard library the test executables are probed for and
    shipped to the emulator to run for each test.
  • Fixing compilation of compiler-rt a bit

All support added here is modeled after what's found in the makefiles, just
translating one strategy to another. As an added bonus this commit adds support
for the "check" step to automatically run tests for all targets, and the
"check-target" step now runs all tests for a particular target, automatically
filtering the tests if the target is detected as a cross-compile.

Note that we don't (and probably won't) have a bot which is actually going to
exercise any of this just yet, but all tests have passed locally for me at
least.

This commit enhances the rustbuild support for testing Android to the same level
of parity as the makefiles. This involved:

* A new step to copy the standard library and other shared objects to the
  emulator. This is injected as a dependency of all test suites for Android.
* Appropriate arguments are now passed through to compiletest to ensure that it
  can run tests.
* When testing the standard library the test executables are probed for and
  shipped to the emulator to run for each test.
* Fixing compilation of compiler-rt a bit

All support added here is modeled after what's found in the makefiles, just
translating one strategy to another. As an added bonus this commit adds support
for the "check" step to automatically run tests for all targets, and the
"check-target" step now runs all tests for a particular target, automatically
filtering the tests if the target is detected as a cross-compile.

Note that we don't (and probably won't) have a bot which is actually going to
exercise any of this just yet, but all tests have passed locally for me at
least.
@rust-highfive
Copy link
Collaborator

r? @brson

(rust_highfive has picked a reviewer for you, use r? to override)

@brson
Copy link
Contributor

brson commented Jun 30, 2016

@bors r+

@bors
Copy link
Contributor

bors commented Jun 30, 2016

📌 Commit 39a5d3f has been approved by brson

@bors
Copy link
Contributor

bors commented Jul 1, 2016

⌛ Testing commit 39a5d3f with merge 692cafb...

@bors
Copy link
Contributor

bors commented Jul 1, 2016

💔 Test failed - auto-win-msvc-64-opt-rustbuild

@alexcrichton
Copy link
Member Author

@bors: retry

On Fri, Jul 1, 2016 at 6:02 AM, bors [email protected] wrote:

💔 Test failed - auto-win-msvc-64-opt-rustbuild
https://buildbot.rust-lang.org/builders/auto-win-msvc-64-opt-rustbuild/builds/1632


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#34567 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AAD95D21PFpXu6Ev3Vk8bfS6P9wnD4rSks5qRQ_QgaJpZM4JBry1
.

Manishearth added a commit to Manishearth/rust that referenced this pull request Jul 2, 2016
…rson

rustbuild: Implement testing for Android

This commit enhances the rustbuild support for testing Android to the same level
of parity as the makefiles. This involved:

* A new step to copy the standard library and other shared objects to the
  emulator. This is injected as a dependency of all test suites for Android.
* Appropriate arguments are now passed through to compiletest to ensure that it
  can run tests.
* When testing the standard library the test executables are probed for and
  shipped to the emulator to run for each test.
* Fixing compilation of compiler-rt a bit

All support added here is modeled after what's found in the makefiles, just
translating one strategy to another. As an added bonus this commit adds support
for the "check" step to automatically run tests for all targets, and the
"check-target" step now runs all tests for a particular target, automatically
filtering the tests if the target is detected as a cross-compile.

Note that we don't (and probably won't) have a bot which is actually going to
exercise any of this just yet, but all tests have passed locally for me at
least.
bors added a commit that referenced this pull request Jul 2, 2016
Rollup of 7 pull requests

- Successful merges: #34531, #34545, #34551, #34566, #34567, #34574, #34583
- Failed merges:
@bors bors merged commit 39a5d3f into rust-lang:master Jul 2, 2016
@alexcrichton alexcrichton deleted the rustbuild-android branch July 7, 2016 16:41
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.

4 participants