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