自动化测试CTS命令

Posted on 2013-07-27 21:31  冰天雪域  阅读(576)  评论(0编辑  收藏  举报

#!/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



 

Copyright © 2024 冰天雪域
Powered by .NET 8.0 on Kubernetes