Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c414eca8 authored by Bernie Innocenti's avatar Bernie Innocenti Committed by Chen Zhu
Browse files

Add test config for resolv_integration_test

This is necessary to execute the test on MTS. Without the config,
tradefed will use the wrong file pusher, which doesn't handle the
multiarch test filename.

Test: m mts
Bug: 146684390
Change-Id: Ia963882d33048fe073218ebfa79553c7f5e8e8ea
parent bd13699a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ cc_test {
    name: "resolv_integration_test",
    test_suites: ["device-tests", "mts"],
    require_root: true,
    test_config: "resolv_integration_test_config.xml",
    defaults: ["netd_defaults"],
    tidy: false, // cuts test build time by > 1m30s
    srcs: [
+15 −0
Original line number Diff line number Diff line
<configuration description="Configuration for resolv integration tests">
   <option name="test-suite-tag" value="mts" />
   <target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
       <option name="cleanup" value="true" />
       <option name="push" value="resolv_integration_test->/data/local/tmp/resolv_integration_test" />
       <option name="append-bitness" value="true" />
   </target_preparer>
   <test class="com.android.tradefed.testtype.GTest" >
       <option name="native-test-device-path" value="/data/local/tmp" />
       <option name="module-name" value="resolv_integration_test" />
       <option name="runtime-hint" value="10m" />
       <!-- test-timeout unit is ms, value = 10 min -->
       <option name="native-test-timeout" value="600000" />
   </test>
</configuration>