Elliott Hughes | 4241b89 | 2019-12-11 12:10:50 -0800 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | # Copy the tests across. | ||||
4 | adb shell rm -rf /data/local/tmp/bc-tests/ | ||||
5 | adb shell mkdir /data/local/tmp/bc-tests/ | ||||
6 | adb push tests/ /data/local/tmp/bc-tests/ | ||||
7 | adb push functions.sh /data/local/tmp/bc-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 /data/local/tmp/bc-tests/tests/all.sh bc 0 1 0 1 bc |