summaryrefslogtreecommitdiff
path: root/Modules/AndroidTestUtilities
Commit message (Collapse)AuthorAgeFilesLines
* Fix trivial typos in textluzpaz2017-11-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some are user facing. Found using codespell -q 3 --skip="./Utilities" -I .cmake-whitelist.txt` whereby the whitelist contained: ans dum helpfull emmited emmitted buil iff isnt nto ot pathes substract te todays upto whitespaces
* AndroidTestUtilities: ignore exit status of lsZack Galbreath2017-02-031-1/+3
| | | | | | | | | | adb used to suffer from a bug where `adb shell` would return 0 irrespective the exit status of the underlying process that it executed. This is now fixed for newer versions of Android (N+). As a result, attempting to `adb shell ls` a nonexistent file can now result in a non-zero exit status. Updating check_device_file_exists to ignore the exit status of `adb shell` fixes this bug for newer Android devices.
* AndroidTestUtilities: fix cleanup operationRuslan Baratov2017-01-101-1/+1
| | | | | | | | | | | | | | | `su` is not available by default on all devices: ``` > adb shell "echo ls /data/local/tmp | su" /system/bin/sh: su: not found > echo $? 0 ``` Also since `execute_adb_command` use `execute_process` under the hood the pipeline (`|`) will not be treated as special symbol and will be process just like one more command line argument for the `adb`.
* AndroidTestUtilities: Add module to help drive Android device testsSchuyler Kylstra2016-09-301-0/+174
Add a module to manage the data needed for the project tests. It will move the test data to the build directory and transfer necessary data to an Android device if that is enabled.