OSDN Git Service

Cert: make test setup more robust to binary failures
authorJack He <siyuanh@google.com>
Fri, 6 Mar 2020 08:19:48 +0000 (00:19 -0800)
committerJack He <siyuanh@google.com>
Fri, 6 Mar 2020 08:25:19 +0000 (00:25 -0800)
commitc618ce1576d2cd468d99c443ff65bb40fd8e10bb
tree6ec5df1c7f9412e7137ae62e7e9127288be16f80
parent4f0504953f8095c03693cfd716117b5f49be13b9
Cert: make test setup more robust to binary failures

* Add checks to see if a backing process or root-canal is alive
  immediately after launching them to avoid making the whole
  test stuck on a response from these dead processes
* Add methods to disable verity on test devices and push test files
  to required directories on the Android device

Bug: 150321998
Test: source gd/cert/set_up_and_run_device_cert.sh
Change-Id: I44f2e73aa88e7924c7e594faad020f8199c76994
gd/cert/gd_base_test_facade_only.py
gd/cert/gd_device_base.py