如何从命令行启动Android CTS,我已经尝试了所有我能想到的组合:
~/programs/android-cts/tools$ ./startcts --config ../repository/host_config.xml start -plan CTS这样就不起作用了。如果您有任何意见,我们将非常感谢。
发布于 2012-02-09 18:07:09
显然,这只是一个读取CTS源代码,然后正确获取参数的问题::)
$ ./startcts start --plan CTS发布于 2015-08-20 02:28:40
I have been using CTS version CTS4.4R3.
Below is how we can run CTS on KK .
Go to "tools" folder in CTS4.4R3 and enter the below commands :
command to Run CTS :
.../tools$./cts-tradefed
>run cts --plan CTS
Creating a Plan for Failed Cases in the 1st run:
add derivedplan -p "anyName"-s <SessionID> -r fail
Run added Plan : run cts --plan <PlanName>
SessionID can be checked as : list results
Running individual class in CTS :
run cts -c <ClassName>
run cts -c com.android.cts.monkey.android.widget.cts.AutoCompleteTextViewTest发布于 2012-01-03 18:19:47
运行tools文件夹中的startcts命令
<install_dir>/tools$./startctscts shell将显示出来,选择您想要运行的计划,如下所示
cts_host > ls --plan
List of plans (10 in total):
Android
AppSecurity
CTS-TF
CTS
Java
Performance
RefApp
Signature
VM-TF
VM
cts_host > start --plan Androidhttps://stackoverflow.com/questions/8710639
复制相似问题