You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
478 B
25 lines
478 B
#!/bin/bash
|
|
#
|
|
# Run tests in this directory.
|
|
#
|
|
|
|
if [ -z "$ANDROID_BUILD_TOP" ]; then
|
|
echo "Android build environment not set"
|
|
exit -1
|
|
fi
|
|
|
|
# ensure we have mm
|
|
. $ANDROID_BUILD_TOP/build/envsetup.sh
|
|
|
|
mm
|
|
|
|
echo "waiting for device"
|
|
|
|
adb root && adb wait-for-device remount
|
|
|
|
echo "========================================"
|
|
|
|
echo "testing mediametrics"
|
|
adb push $OUT/data/nativetest64/mediametrics_tests/mediametrics_tests /system/bin
|
|
adb shell /system/bin/mediametrics_tests
|