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

[SR-1748] Run the Swift test suite on an Android emulator (instead of a real device) #44357

Open
modocache mannequin opened this issue Jun 14, 2016 · 1 comment
Open
Labels
Android Platform: Android good first issue Good for newcomers new feature

Comments

@modocache
Copy link
Mannequin

modocache mannequin commented Jun 14, 2016

Previous ID SR-1748
Radar None
Original Reporter @modocache
Type New Feature
Additional Detail from JIRA
Votes 0
Component/s Project Infrastructure
Labels New Feature, Android, StarterBug
Assignee None
Priority Medium

md5: ed2beb47c341a1e51aec180c04c543cd

Issue Description:

I've only ever tried running the Swift test suite on a physical Android device. Would the test suite run using an Android emulator instead?

It would be very exciting if it did: it would allow a virtual continuous integration machine to run the Swift test suite for Android.

Prerequisites:

  • An Ubuntu 15.10 development environment capable of building Swift from source.

  • A physical Android device.

  • An Android emulator, such as the one provided by the Android SDK, or a third-party emulator such as GenyMotion.

Helpful skills:
Basic knowledge of Python, Android developer tools, and CMake may help.

Starting point:

  1. Follow the instructions in docs/Android.md to build and run the test suite on a physical Android device.

  2. Disconnect the physical device and start an emulator instead. Try running the test suite.

The Swift Android test suite relies on commands like adb shell and adp push. Do those work on emulators? Do they need to be changed? If so, check out the utils/android directory.

@finagolfin
Copy link
Contributor

I believe this should already work, because of the Android x86_64 support that has since been added, but I know of no one that has tried and confirmed it.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Platform: Android good first issue Good for newcomers new feature
Projects
None yet
Development

No branches or pull requests

1 participant