Try with --disable-reboot option
-Amit
On 21 February 2013 17:07, Naresh Kamboju naresh.kamboju@linaro.org wrote:
+linaro.android +vishal
On 21 February 2013 16:39, Botao Sun botao.sun@linaro.org wrote:
Hi Amit & Soumya,
Perhaps you have realised this issue, which means if our test target only supports ADB over Ethernet, then some CTS test cases won't be executed if they require a system reboot.
As we know, in order to enable ADB over Ethernet, we need to do following 3 steps on our test target:
stop adbd setprop service.adb.tcp.port 6565 start adbd
Some CTS test (for example, "Android" test suite), will reboot system before being performed. Since the variable settings above will be lost after powered off, then after system rebooted, ADB over Ethernet connection will be lost. I tried this on vexpress A9 board and found many test cases couldn't be run just because the ADB connection failed after rebooting.
Therefore, when run CTS, the test target should support ADB over USB connection, then can ensure everything goes well.
I think we have way to solutions to fix adb issue on TCP connection as
well. workload automation runs on vexpress+TC2 which use ADB connection over TCP. Vishal has already have a solution for this problem.
Best regards Naresh Kamboju
Thanks.
Best Regards Botao Sun