Add file-exclusion-filter-regex for hwuimicro
Using atest to test hwuimicro will get test error due to current
logic of GoogleBenchmarkTest will running all executable files under
input device path. But due to the test config also under that device
path which will break GoogleBenchmarkTest. Filter *.config file to
prevent breakage.
Bug: 129996310
Test: atest hwuimicro
Change-Id: I68b6c623ed30f75faf7801bc5a1d556107359573
diff --git a/libs/hwui/AndroidTest.xml b/libs/hwui/AndroidTest.xml
index eab32c5..381fb9f 100644
--- a/libs/hwui/AndroidTest.xml
+++ b/libs/hwui/AndroidTest.xml
@@ -28,9 +28,11 @@
<test class="com.android.tradefed.testtype.GoogleBenchmarkTest" >
<option name="native-benchmark-device-path" value="/data/benchmarktest" />
<option name="benchmark-module-name" value="hwuimicro" />
+ <option name="file-exclusion-filter-regex" value=".*\.config$" />
</test>
<test class="com.android.tradefed.testtype.GoogleBenchmarkTest" >
<option name="native-benchmark-device-path" value="/data/benchmarktest" />
<option name="benchmark-module-name" value="hwuimacro" />
+ <option name="file-exclusion-filter-regex" value=".*\.config$" />
</test>
</configuration>