You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Follow the instructions in docs/Android.md to build and run the test suite on a physical Android device.
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.
The text was updated successfully, but these errors were encountered:
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.
Additional Detail from JIRA
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:
Follow the instructions in docs/Android.md to build and run the test suite on a physical Android device.
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
andadp push
. Do those work on emulators? Do they need to be changed? If so, check out theutils/android
directory.The text was updated successfully, but these errors were encountered: