Ryan Prichard | 2c236bc | 2019-09-26 12:47:47 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Ryan Prichard | 2c236bc | 2019-09-26 12:47:47 -0700 | [diff] [blame] | 2 | <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 Zhu | 82fc2d5 | 2021-09-14 12:19:49 -0700 | [diff] [blame] | 7 | <option name="push" value="bionic-spawn-benchmarks->/data/local/tests/unrestricted/bionic-spawn-benchmarks" /> |
Ryan Prichard | 2c236bc | 2019-09-26 12:47:47 -0700 | [diff] [blame] | 8 | </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 Zhu | 82fc2d5 | 2021-09-14 12:19:49 -0700 | [diff] [blame] | 12 | <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 Prichard | 2c236bc | 2019-09-26 12:47:47 -0700 | [diff] [blame] | 14 | </target_preparer> |
| 15 | --> |
| 16 | |
| 17 | <test class="com.android.tradefed.testtype.GoogleBenchmarkTest" > |
Guang Zhu | 82fc2d5 | 2021-09-14 12:19:49 -0700 | [diff] [blame] | 18 | <option name="native-benchmark-device-path" value="/data/local/tests/unrestricted" /> |
Ryan Prichard | 2c236bc | 2019-09-26 12:47:47 -0700 | [diff] [blame] | 19 | <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> |