自动化测试CTS命令

时间:2023-02-13 19:50:38

#!/sbin/sh
chmod +x /system/bin/input

i=0

while [ "$i" != "10" ]

do

#am instrument -e class android.animation.cts.ValueAnimatorTest#testCurrentPlayTime -w -r com.android.cts.animation/android.test.InstrumentationTestRunner

am instrument -w -r com.android.cts.animation/android.test.InstrumentationTestRunner

#am instrument -e class android.app.cts.ActivityManagerMemoryClassTest#testGetMemoryClass -w -r com.android.cts.app/android.test.InstrumentationCtsTestRunner

echo "testCurrentPlayTime"

i=$(($i+1))

sleep 2

done