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)
commit531543280af49ceaf077d47ddb3169fbdcc59074
tree6797665d01dbda9723a4650b887a1ebe144c53bd
parent5adfdf4d7e37e1d6dd1b4d2557ac780d46474955
parent234d84efb26935e9081593b54fe61a5c4380bc68
Merge: Work towards an Android testing framework and fix a few bugs

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>