Tri Vo | 05f0189 | 2017-03-02 11:28:31 -0800 | [diff] [blame^] | 1 | #!/bin/bash |
2 | |||||
3 | if [ -z "$ANDROID_BUILD_TOP" ]; then | ||||
4 | echo "Missing ANDROID_BUILD_TOP env variable. Run 'lunch' first." | ||||
5 | exit 1 | ||||
6 | fi | ||||
7 | |||||
8 | # Runs all unit tests under tools/acloud. | ||||
9 | tests=$(find . -type f | grep test\.py) | ||||
10 | for t in $tests; do | ||||
11 | PYTHONPATH=$ANDROID_BUILD_TOP/tools python $t; | ||||
12 | done |