1#!/bin/bash 2 3# Copy the tests across. 4adb shell rm -rf /data/local/tmp/bc-tests/ 5adb shell mkdir /data/local/tmp/bc-tests/ 6adb push tests/ /data/local/tmp/bc-tests/ 7adb push functions.sh /data/local/tmp/bc-tests/ 8 9if tty -s; then 10 dash_t="-t" 11else 12 dash_t="" 13fi 14 15exec adb shell $dash_t /data/local/tmp/bc-tests/tests/all.sh bc 0 1 0 0 bc 16