Merge: Work towards an Android testing framework and fix a few bugs
authorJean Privat <jean@pryen.org>
Fri, 28 Aug 2015 02:42:40 +0000 (22:42 -0400)
committerJean Privat <jean@pryen.org>
Fri, 28 Aug 2015 02:42:40 +0000 (22:42 -0400)
Update check_android.sh to accept any APK file, many files at once, deduce the package name from the APK and accept some command line arguments. Users can manage their own emulator (or device) and they can show the emulator window.

Rename mnit_simple to mnit_test with 2 alternatives on Android: minimal and complete. Also fix what was broken in the complete test and the lib. The complete test still doesn't work because of a bug in `android::audio` fixed by #1587 which is not yet merged.

Consider this PR as the first part for integrating Android test in jenkins. It will be easier to tweak the integration with already the script in master.

This PR does not fix the issue with some Android apps where they crash after about 30 seconds, but it could help prevent future regressions.

Pull-Request: #1653
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>


Trivial merge