diff options
author | Zhuoyao Zhang <zhuoyao@google.com> | 2016-11-23 16:38:33 -0800 |
---|---|---|
committer | Zhuoyao Zhang <zhuoyao@google.com> | 2016-11-23 16:38:33 -0800 |
commit | b5680925739cccf27ad253eb61cdbb18f60c7330 (patch) | |
tree | e271387cea21c1bee688ad7358653eb91d6c0242 /hwbinder_benchmark/binderize | |
parent | 0f0a6fdbf07fa9772a345691751014354d2e3b70 (diff) | |
download | performance-b5680925739cccf27ad253eb61cdbb18f60c7330.tar.gz |
Move performance tests under /test/vts-testcase/
Bug:32783461
Test: run vts-serving-staging-hal-hidl
Change-Id: I779645044b9f0b5f7cde2542c9f4f00e3f5dc479
Diffstat (limited to 'hwbinder_benchmark/binderize')
-rw-r--r-- | hwbinder_benchmark/binderize/Android.mk | 24 | ||||
-rw-r--r-- | hwbinder_benchmark/binderize/AndroidTest.xml | 30 | ||||
-rw-r--r-- | hwbinder_benchmark/binderize/HwBinderBinderizePerformanceTest.config | 3 |
3 files changed, 57 insertions, 0 deletions
diff --git a/hwbinder_benchmark/binderize/Android.mk b/hwbinder_benchmark/binderize/Android.mk new file mode 100644 index 0000000..d479a88 --- /dev/null +++ b/hwbinder_benchmark/binderize/Android.mk @@ -0,0 +1,24 @@ +# +# Copyright (C) 2016 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. +# +LOCAL_PATH := $(call my-dir) + +include $(call all-subdir-makefiles) + +include $(CLEAR_VARS) + +LOCAL_MODULE := HwBinderBinderizePerformanceTest +VTS_CONFIG_SRC_DIR := testcases/performance/hwbinder_benchmark/binderize +include test/vts/tools/build/Android.host_config.mk diff --git a/hwbinder_benchmark/binderize/AndroidTest.xml b/hwbinder_benchmark/binderize/AndroidTest.xml new file mode 100644 index 0000000..5c6859b --- /dev/null +++ b/hwbinder_benchmark/binderize/AndroidTest.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2016 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="HwBinderBinderizePerformanceTest" /> + <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" /> + </test> +</configuration> diff --git a/hwbinder_benchmark/binderize/HwBinderBinderizePerformanceTest.config b/hwbinder_benchmark/binderize/HwBinderBinderizePerformanceTest.config new file mode 100644 index 0000000..fc792a7 --- /dev/null +++ b/hwbinder_benchmark/binderize/HwBinderBinderizePerformanceTest.config @@ -0,0 +1,3 @@ +{ + "hidl_hal_mode": "BINDERIZE" +} |