| Elliott Hughes | f276140 | 2019-11-15 15:07:00 -0800 | [diff] [blame] | 1 | #!/bin/bash | 
| 2 | |||||
| 3 | # Copy the tests across. | ||||
| 4 | adb shell rm -rf /data/local/tmp/ziptool-tests/ | ||||
| 5 | adb shell mkdir /data/local/tmp/ziptool-tests/ | ||||
| 6 | adb push cli-tests/ /data/local/tmp/ziptool-tests/ | ||||
| 7 | #adb push cli-test /data/local/tmp/ziptool-tests/ | ||||
| 8 | |||||
| 9 | if tty -s; then | ||||
| 10 | dash_t="-t" | ||||
| 11 | else | ||||
| 12 | dash_t="" | ||||
| 13 | fi | ||||
| 14 | |||||
| 15 | exec adb shell $dash_t cli-test /data/local/tmp/ziptool-tests/cli-tests/*.test | ||||