-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Enable test for android #21774
Enable test for android #21774
Conversation
ejjeong
commented
Jan 30, 2015
- Now "make check-stage2-T-aarch64-linux-android-H-x86_64-unknown-linux-gnu" works ("make check" doesn't work correctly on aarch64-linux-android #21773)
- Fix & enable debuginfo tests for android (Re-enable debuginfo tests on Android #10381)
- Fix & enable more tests for android (both for arm/aarch64)
- Enable many already-pass tests on android (both for arm/aarch64)
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see CONTRIBUTING.md for more information. |
2d0cb73
to
aae026d
Compare
$(foreach target,$(CFG_TARGET), \ | ||
$(if $(findstring $(CFG_ADB_DEVICE_STATUS),"true"), \ | ||
$(eval $(call INSTALL_RUNTIME_TARGET_N,$(taget),$(CFG_BUILD))) \ | ||
$(eval $(call INSTALL_RUNTIME_TARGET_CLEANUP_N,arm-linux-$(target))) \ |
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.
Should this just be $(target)
instead of arm-linux-$(target)
? (to keep in line with the previous definition)
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.
I've changed this. Thank you for finding this.
Looks good to me! (needs a rebase though) |
9e85fd5
to
49a520c
Compare
💔 Test failed - auto-linux-64-x-android-t |
$(shell $(CFG_ADB) shell mkdir $(CFG_ADB_TEST_DIR)/$(target)) \ | ||
$(foreach crate,$(TARGET_CRATES), \ | ||
$(shell $(CFG_ADB) push $(TLIB2_T_$(target)_H_$(CFG_BUILD))/$(call CFG_LIB_GLOB_$(target),$(crate)) \ | ||
$(CFG_ADB_TEST_DIR)/$(target))), \ |
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.
It looks like the upload directory here changed from $(CFG_ADB_TEST_DIR)
to ../$(target)
, maybe that caused a problem?
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.
Oh but I see that LD_LIBRARY_PATH
below changed. Perhaps somewhere else needs to be updated as well?
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.
Yes, in fact I think I changed everywhere that uses $(CFG_ADB_TEST_DIR).
And I succeeded passing the whole testset on android, in my local environment.
(with platform-19 emulator and 64-bit ubuntu server, same as buildbot.)
49a520c
to
328f32b
Compare
328f32b
to
489f604
Compare
I succeeded to reproduce the error by running tests separately, and removed the error. |
⌛ Testing commit 489f604 with merge be28540... |
💔 Test failed - auto-linux-64-x-android-t |
Added solib-search-path to help debugger find the correct library. |
⌛ Testing commit 4f14111 with merge bf43b03... |
💔 Test failed - auto-linux-64-x-android-t |
It seems like it's the same issue as #11352. Anyway, I think that the required NDK version for building android should be updated. (Alternative options)
|
Could the default dwarf version be lowered for android for now? We still do it for OSX and it's far easier than updating the bots. |
@alexcrichton, I assumed that the gdb version of ndk on buildbot is 7.3, |
⌛ Testing commit 194d96e with merge bc74b37... |
💔 Test failed - auto-win-64-opt |
|
@bors: retry |
⌛ Testing commit 194d96e with merge 72c0393... |
💔 Test failed - auto-win-32-nopt-t |
@bors: retry |
…excrichton This commit has already been merged in rust-lang#21774, but i think it has been accidently overriden by rust-lang#22584 and rust-lang#22480. r? @alexcrichton