commit | 04085c72793cce8b3053c6a1696036febbf7fdd6 | [log] [tgz] |
---|---|---|
author | Julien Desprez <jdesprez@google.com> | Thu Jul 19 09:46:27 2018 -0700 |
committer | Julien Desprez <jdesprez@google.com> | Thu Jul 19 09:46:27 2018 -0700 |
tree | 09a1db564653289abe5136d051c04249d3169299 | |
parent | 4a31a684e16ac8826e42a07793929fc577294655 [diff] |
Switch Atest to use CommandRunner instead of console Atest never runs in interactive mode so it's better to go through the runner (like TF subprocess mode). CommandRunner will give an exit code 7 (NO_DEVICE_ALLOCATED) if it fails to find a device after 1 minute. Test: atest unit tests atest com.android.server.wm.ScreenDecorWindowTests#testMultipleDecors Bug: 80539300 Change-Id: Ia086cd0bd138e6a84c540235437fcb7614efb07c
TF is a test harness used to drive Android automated testing. It runs on test hosts and monitors the connected devices, handling test scheduling & execution and device management.
Other test harnesses like Compatibility Test Suite (CTS) and Vendor Test Suite (VTS) use TF as a basis and extend it for their particular needs.
Building TF:
More information at: https://source.android.com/devices/tech/test_infra/tradefed/