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 shell mkdir /data/local/tmp/bc-tests/scripts/ 7adb push tests/ /data/local/tmp/bc-tests/ 8adb push scripts/functions.sh /data/local/tmp/bc-tests/scripts/ 9 10if tty -s; then 11 dash_t="-t" 12else 13 dash_t="" 14fi 15 16exec adb shell $dash_t /data/local/tmp/bc-tests/tests/all.sh -n bc 0 1 0 0 0 bc 17