| 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" /> | 
|  | 7 | <option name="push" value="bionic-spawn-benchmarks->/data/local/tmp/bionic-spawn-benchmarks" /> | 
|  | 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"> | 
|  | 12 | <option name="push" value="perf-setup.sh->/data/local/tmp/perf-setup.sh" /> | 
|  | 13 | <option name="post-push" value="chmod 755 /data/local/tmp/perf-setup.sh;/data/local/tmp/perf-setup.sh" /> | 
|  | 14 | </target_preparer> | 
|  | 15 | --> | 
|  | 16 |  | 
|  | 17 | <test class="com.android.tradefed.testtype.GoogleBenchmarkTest" > | 
|  | 18 | <option name="native-benchmark-device-path" value="/data/local/tmp" /> | 
|  | 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> |