blob: b18883160db8575d1e852b5e542d5d90ebc8e38c [file] [log] [blame]
Elliott Hughes00725992019-11-15 15:07:00 -08001#!/bin/bash
2
3# Copy the tests across.
Frank Feng49f01892020-10-12 23:06:31 +00004test_dir=/data/local/tests/unrestricted/ziptool-tests
5
6# TODO(b/169618311): remove this "adb push" command.
7adb push cli-tests/ "$test_dir"
Elliott Hughes00725992019-11-15 15:07:00 -08008
9if tty -s; then
10 dash_t="-t"
11else
12 dash_t=""
13fi
14
Frank Feng49f01892020-10-12 23:06:31 +000015exec adb shell "$dash_t" "${test_dir}"/cli-test "${test_dir}"/cli-tests/*.test