1#!/bin/bash
2
3# Copy the tests across.
4test_dir=/data/local/tests/unrestricted/ziptool-tests
5
6# TODO(b/169618311): remove this "adb push" command.
7adb push cli-tests/ "$test_dir"
8
9if tty -s; then
10  dash_t="-t"
11else
12  dash_t=""
13fi
14
15exec adb shell "$dash_t" "${test_dir}"/cli-test "${test_dir}"/cli-tests/*.test
16