OSDN Git Service

Break GdDevice into GdDevice and GdCertDevice
authorZach Johnson <zachoverflow@google.com>
Fri, 3 May 2019 03:31:39 +0000 (20:31 -0700)
committerZach Johnson <zachoverflow@google.com>
Fri, 3 May 2019 05:05:26 +0000 (22:05 -0700)
commit87ddd5b26fa665f07ad07260b93b345915782d4e
tree18f0faa9f25b777135df8b4c92d03a3828639291
parent4999504f61d44da9a2553e235cdb19b324f5f414
Break GdDevice into GdDevice and GdCertDevice

We need distinct devices, since the gRPC capabilities are
different from each other and we need to tell them apart
from each other in tests.

Also, remove unused gd/cert/run_cert.py
Also, don't indicate rootcanal error at end of test if
return code indicates it was terminated by the SIGINT we sent it.
(-N return code indicates terminated by N signal, as per
https://docs.python.org/2/library/subprocess.html#subprocess.Popen.returncode)

Test: cert/run_cert.sh
Change-Id: Idf14a05d73f2f80f5b871b2c41118219c27a0f76
gd/cert/gd_base_test.py
gd/cert/gd_cert_device.py [new file with mode: 0644]
gd/cert/gd_device.py [changed mode: 0755->0644]
gd/cert/gd_device_base.py [new file with mode: 0644]
gd/cert/host_only_config.json
gd/cert/run_cert.py [deleted file]
gd/hal/cert/simple_hal_test.py