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
Run tests in Android simulator in CI #396
Comments
I can easily work on this |
Great! |
Done, except failing tests on i686: #424. |
Just caught an error on x86_64:
https://travis-ci.org/github/gavv/roc-toolkit/jobs/729580567 @MatteoArella any ideas? |
Connection reset on download seems unrelated to #419 PR but it seems rather a travis network connectivity problem. Did you encounter this problem before or it is the first time? |
Oh, I see. I though it's connection to emulator, but if it's just an error during download, I agree it's unrelated.
This is the first time.
Let's indeed close this issue. I'll add a comment regarding SDK to #405. |
Currently we have Android build in Travis, but it doesn't run unit tests. It is defined here.
It would be nice to run tests on Travis using Android simulator.
We already have
env-android
docker image that provides Android SDK and emulator, and a helper script to manage simulator devices:This image is used in our java bindings to run java tests in simulator, which was implemented here: roc-streaming/roc-java#21.
Now we want to employ a similar approach for our C++ tests. In java bindings we're using gradle, and to run C++ tests we can use adb as mentioned here: roc-streaming/roc-java#21 (comment)
Travis scripts are located here: https://github.com/roc-streaming/roc-toolkit/tree/develop/scripts/travis
An example of running tests manually from travis scripts can be found here. Those scripts also run tests in an emulated environment, but they use qemu instead of android simulator.
Related: #390.
The text was updated successfully, but these errors were encountered: