Add connectivity pre-check for CtsHostsideNetworkTests

Test: atest CtsHostsideNetworkTests
Flag: TEST_ONLY
Change-Id: If7f8cd614f0528248ca87be1d3aac5396b64e071
This commit is contained in:
Paul Hu 2025-04-30 06:52:54 +00:00
commit 882a44f978
2 changed files with 2 additions and 0 deletions

View file

@ -47,6 +47,7 @@ java_test_host {
],
static_libs: [
"modules-utils-build-testing",
"net-tests-utils-host-common",
],
// Tag this module as a cts test artifact
test_suites: [

View file

@ -25,6 +25,7 @@
<option name="config-descriptor:metadata" key="mainline-param" value="com.google.android.tethering.apex" />
<target_preparer class="com.android.compatibility.common.tradefed.targetprep.LocationCheck" />
<target_preparer class="com.android.testutils.ConnectivityTestTargetPreparer" />
<!-- Enabling change id ALLOW_TEST_API_ACCESS allows that package to access @TestApi methods -->
<target_preparer class="com.android.tradefed.targetprep.RunCommandTargetPreparer">