aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/spawn/AndroidTest.xml
blob: 466dc7fb094661403a6c2dd5bca497cb82872467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8"?>
<configuration description="Runs bionic-spawn-benchmarks.">
    <option name="test-suite-tag" value="apct" />

    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
        <option name="cleanup" value="true" />
        <option name="push" value="bionic-spawn-benchmarks->/data/local/tmp/bionic-spawn-benchmarks" />
    </target_preparer>

    <!-- TODO(b/120549168): This seems necessary for consistent results on a walleye, but it's not working with atest
    <target_preparer class="com.android.tradefed.targetprep.PushFilePreparer">
        <option name="push" value="perf-setup.sh->/data/local/tmp/perf-setup.sh" />
        <option name="post-push" value="chmod 755 /data/local/tmp/perf-setup.sh;/data/local/tmp/perf-setup.sh" />
    </target_preparer>
    -->

    <test class="com.android.tradefed.testtype.GoogleBenchmarkTest" >
        <option name="native-benchmark-device-path" value="/data/local/tmp" />
        <option name="benchmark-module-name" value="bionic-spawn-benchmarks" />

        <!-- The GoogleBenchmarkTest class ordinarily expects every file in the benchmark's
             directory (recursively) to be a google-benchmark binary, so we need this setting to
             avoid failing on the bench_* noop programs, which don't output benchmark results. -->
        <option name="file-exclusion-filter-regex" value=".*/bench_[^/]*$"  />
    </test>

</configuration>