commit | 1b46c0aded8bc5378dfff6ec582d31ba1fcbcf77 | [log] [tgz] |
---|---|---|
author | Naga Venkata Durga Ashok Mutyala <quic_nmutya@quicinc.com> | Thu Nov 07 14:50:24 2019 +0530 |
committer | Julien Desprez <jdesprez@google.com> | Fri Nov 08 09:13:41 2019 -0800 |
tree | aa94771961c3b95756bca887bae0b63417ac1914 | |
parent | faaeefe9793d17e7b7414cf95c901ad1aba6e12c [diff] |
setenforce command with root permissions if the device sepolicy is in permissive mode, after module/testcase execution this checker will get back the device sepolicy to enforce mode. Bug: 143938350 Test: 1) set the device sepolicy to permissive mode 2) Run any cts testcase 3) device sepolicy should get back to enforce mode Signed-off-by: Naga Venkata Durga Ashok Mutyala <quic_nmutya@quicinc.com> Change-Id: Id3506eb16ac904316de77cf30e1d53a32d4dac73 (cherry picked from commit 479c524a0a46ef82933f5575be07857e9b6dcfc5) Merged-In:479c524a0a46ef82933f5575be07857e9b6dcfc5
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.