diff options
author | Yuexi Ma <yuexima@google.com> | 2017-01-25 02:28:38 -0800 |
---|---|---|
committer | Yuexi Ma <yuexima@google.com> | 2017-01-25 18:32:53 +0000 |
commit | 8ee7ad3a95d51aea2368703553bb1722eaa31a00 (patch) | |
tree | 35c03b3cfd95d91a8ed9dc40c8ec8f6da669bf15 /hwbinder_benchmark/binderize_systrace/AndroidTest.xml | |
parent | d86f8a4d92a0d2c5974b897e25019eb0b10d2b69 (diff) | |
download | performance-8ee7ad3a95d51aea2368703553bb1722eaa31a00.tar.gz |
Create performance benchmark with systrace test plan
* split test plans into regular test and test with systrace
* add missing test-module-names, correct indents
Bug: 34696301
Test: ENABLE_TREBLE=true make vts BUILD_GOOGLE_VTS=true -j32 && vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module BinderPerformanceTest -l INFO
Change-Id: I29a46336d555fcdc739637fdf5341e0dc00a4dcc
(cherry picked from commit cc9fcbb26d03c74d3574ab7c17137fc797e715ae)
Diffstat (limited to 'hwbinder_benchmark/binderize_systrace/AndroidTest.xml')
-rw-r--r-- | hwbinder_benchmark/binderize_systrace/AndroidTest.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/hwbinder_benchmark/binderize_systrace/AndroidTest.xml b/hwbinder_benchmark/binderize_systrace/AndroidTest.xml new file mode 100644 index 0000000..bc0f415 --- /dev/null +++ b/hwbinder_benchmark/binderize_systrace/AndroidTest.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2017 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<configuration description="Config for VTS libhwbinder performance benchmarks"> + <target_preparer class="com.android.compatibility.common.tradefed.targetprep.VtsFilePusher"> + <option name="push-group" value="HostDrivenTest.push" /> + <option name="cleanup" value="true" /> + <option name="push" value="DATA/benchmarktest/libhwbinder_benchmark/libhwbinder_benchmark32->/data/local/tmp/32/libhwbinder_benchmark32" /> + <option name="push" value="DATA/benchmarktest64/libhwbinder_benchmark/libhwbinder_benchmark64->/data/local/tmp/64/libhwbinder_benchmark64" /> + </target_preparer> + <target_preparer class="com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer"> + </target_preparer> + <test class="com.android.tradefed.testtype.VtsMultiDeviceTest"> + <option name="test-module-name" value="HwBinderBinderizePerformanceSystraceTest" /> + <option name="test-case-path" value="vts/testcases/performance/hwbinder_benchmark/HwBinderPerformanceTest" /> + <option name="test-config-path" value="vts/testcases/performance/hwbinder_benchmark/binderize/HwBinderBinderizePerformanceTest.config" /> + <option name="enable-systrace" value="true" /> + </test> +</configuration> |