此篇为原创转载请注明出处与作者信息:
author:fanfq mail:fangqing.fan#gmail.com
link:http://fanfq.iteye.com/admin/blogs/876355
fanfq@fanfq-Lenovo:~/android/out/host/linux-x86/bin$ ./cts
Listening for transport dt_socket at address: 1337
Android CTS version 2.2_r1
Device(0403A5191300E01A) connected
cts_host > cts_host > ls --plan
List of plans (8 in total):
RefApp
AppSecurity
Performance
Java
VM
CTS
Android
Signature
cts_host > start --plan Signature
There are 2 existing session(s) for plan Signature.
Create a new session or choose an existing one?
Create a new session [0]
Choose a session [1]
0
install met failure [install_failed_older_sdk]
start test plan Signature
install met failure [install_failed_older_sdk]
CTS_INFO >>> Checking API...
CTS_INFO >>> This might take several minutes, please be patient...
uninstall met failure
API Check TIMEOUT.
(timeout)
Test summary: pass=0 fail=0 timeOut=1 omitted=0 notExecuted=0 Total=1
Time: 4.20s
uninstall met failure
cts_host > ls --plan
List of plans (8 in total):
RefApp
AppSecurity
Performance
Java
VM
CTS
Android
Signature
cts_host > start --plan CTS
install met failure [install_failed_older_sdk]
start test plan CTS
install met failure [install_failed_older_sdk]
CTS_INFO >>> Checking API...
CTS_INFO >>> This might take several minutes, please be patient...
uninstall met failure
API Check TIMEOUT.
(timeout)
CTS_INFO >>> Max ADB operations reached. Restarting ADB...
CTS_INFO >>> Restarting device ...
Device(0403A5191300E01A) disconnected