It turns out that the support for Android unit testing is really poor in CMake and cannot be easily integrated into our existing build system.
I opted to write two small shell scripts. One for patching and uploading the shared libraries, test binaries, and android_test_driver.sh to a running Android Emulator. android_test_driver.sh is the second script. It is directly executed on the emulator and executes all unit tests.
It turns out that the support for Android unit testing is really poor in CMake and cannot be easily integrated into our existing build system.
I opted to write two small shell scripts. One for patching and uploading the shared libraries, test binaries, and android_test_driver.sh to a running Android Emulator.
android_test_driver.sh
is the second script. It is directly executed on the emulator and executes all unit tests.Future improvements: