blob: 5232aa0ca4b819d453c93dbe28b3c134e1f19243 [file] [log] [blame]
Ryan Prichard2c236bc2019-09-26 12:47:47 -07001<?xml version="1.0" encoding="utf-8"?>
Ryan Prichard2c236bc2019-09-26 12:47:47 -07002<configuration description="Runs bionic-spawn-benchmarks.">
3 <option name="test-suite-tag" value="apct" />
4
5 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
6 <option name="cleanup" value="true" />
Guang Zhu82fc2d52021-09-14 12:19:49 -07007 <option name="push" value="bionic-spawn-benchmarks->/data/local/tests/unrestricted/bionic-spawn-benchmarks" />
Ryan Prichard2c236bc2019-09-26 12:47:47 -07008 </target_preparer>
9
10 <!-- TODO(b/120549168): This seems necessary for consistent results on a walleye, but it's not working with atest
11 <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
Guang Zhu82fc2d52021-09-14 12:19:49 -070012 <option name="push" value="perf-setup.sh->/data/local/tests/unrestricted/perf-setup.sh" />
13 <option name="post-push" value="chmod 755 /data/local/tests/unrestricted/perf-setup.sh;/data/local/tests/unrestricted/perf-setup.sh" />
Ryan Prichard2c236bc2019-09-26 12:47:47 -070014 </target_preparer>
15 -->
16
17 <test class="com.android.tradefed.testtype.GoogleBenchmarkTest" >
Guang Zhu82fc2d52021-09-14 12:19:49 -070018 <option name="native-benchmark-device-path" value="/data/local/tests/unrestricted" />
Ryan Prichard2c236bc2019-09-26 12:47:47 -070019 <option name="benchmark-module-name" value="bionic-spawn-benchmarks" />
20
21 <!-- The GoogleBenchmarkTest class ordinarily expects every file in the benchmark's
22 directory (recursively) to be a google-benchmark binary, so we need this setting to
23 avoid failing on the bench_* noop programs, which don't output benchmark results. -->
24 <option name="file-exclusion-filter-regex" value=".*/bench_[^/]*$" />
25 </test>
26
27</configuration>