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
This commit is contained in:
yangbill
2019-04-11 12:13:50 +08:00
committed by Bill Yang
parent 44ebc571f4
commit 712e60544e

View File

@@ -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>