commit | 631c1ba9995ba2559af3bd282cd71babbcf5578f | [log] [tgz] |
---|---|---|
author | yelinhsieh <yelinhsieh@google.com> | Mon Sep 09 14:58:16 2019 +0800 |
committer | yelinhsieh <yelinhsieh@google.com> | Mon Oct 14 15:40:51 2019 +0800 |
tree | dc529ab176626e9e616a4506d82597e09b25642f | |
parent | 81a467835ddea0edf83347ed726084b2395d48d7 [diff] |
[ATest] Enable socket server to accept multi-client connection. Use select api to refactor socket server related function in atest_tf_test_runner.py Bug:140705413 Test: source && lunch m atest && atest-dev hello_world_test atest-dev hello_world_test -- --shard-count 2 won't happen socket time out error. Change-Id: Ib987462116f6239f1fd57f6618eb9ec418bcc4e8
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/
See more details about Tradefed Architecture at: https://source.android.com/devices/tech/test_infra/tradefed/architecture
If you are a tests writer you should start looking in the test_framework/ component which contains everything needed to write a tests in Tradefed.