Add root target to resolv_integration_test_config.xml
Add the missing root target
Bug: 150207124
Test: atest
Merged-In: I6b5aa00e2e14009221a1ad360dc38cdfffeeb3b9
(cherry picked from commit f75b7912b4fa80075c8775d7e22ddd1cc8f14091)
Change-Id: I045c20c86ac8a7281e9189c06b0ee4cc812ddd83
diff --git a/tests/resolv_integration_test_config.xml b/tests/resolv_integration_test_config.xml
index 87f0ec9..a25595f 100644
--- a/tests/resolv_integration_test_config.xml
+++ b/tests/resolv_integration_test_config.xml
@@ -1,3 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<configuration description="Configuration for resolv integration tests">
<option name="test-suite-tag" value="mts" />
<target_preparer class="com.android.compatibility.common.tradefed.targetprep.FilePusher">
@@ -5,6 +20,7 @@
<option name="push" value="resolv_integration_test->/data/local/tmp/resolv_integration_test" />
<option name="append-bitness" value="true" />
</target_preparer>
+ <target_preparer class="com.android.tradefed.targetprep.RootTargetPreparer"/>
<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" />