Disable AVF debug policies for tests
AVF debug policy enabled devices behave differently from end-user's
devices, so some tests (mostly for benchmarks) couldn't have been tested
the real world situation.
Specified DisableMicrodroidDebugPolicyPreparer for some tests that better
to be run without AVF debug policy. We can add the preparer for more tests,
but let me start with a small subset.
Test: atest. Benchmark stats were improved as expected.
Bug: 272496125
Change-Id: I829111d38bb16ee9b78c20ea8cec4dce7240a1ed
diff --git a/tests/benchmark_hostside/AndroidTest.xml b/tests/benchmark_hostside/AndroidTest.xml
index 5161269..7a998b1 100644
--- a/tests/benchmark_hostside/AndroidTest.xml
+++ b/tests/benchmark_hostside/AndroidTest.xml
@@ -18,7 +18,9 @@
<option name="force-root" value="true" />
</target_preparer>
+ <target_preparer class="com.android.microdroid.test.preparer.DisableMicrodroidDebugPolicyPreparer" />
+
<test class="com.android.compatibility.common.tradefed.testtype.JarHostTest" >
<option name="jar" value="AVFHostTestCases.jar" />
</test>
-</configuration>
\ No newline at end of file
+</configuration>