3 if [ -z $ANDROID_BUILD_TOP ]; then
4 echo "You need to source and lunch before you can use this script"
12 echo "+ mmma -j32 $ANDROID_BUILD_TOP/frameworks/base/wifi/tests"
13 # NOTE Don't actually run the command above since this shell doesn't inherit functions from the
15 make -j32 -C $ANDROID_BUILD_TOP -f build/core/main.mk MODULES-IN-frameworks-base-wifi-tests
17 set -x # print commands
22 adb install -r -g "$OUT/data/app/FrameworksWifiApiTests/FrameworksWifiApiTests.apk"
24 adb shell am instrument -w "$@" 'android.net.wifi.test/android.support.test.runner.AndroidJUnitRunner'