summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Campbell2017-01-18 10:37:36 -0600
committerRyan Campbell2017-01-18 19:00:12 -0600
commitbfe09b9da659ed9b92a797b798b4ef772af8cfbd (patch)
tree4b8441f18ed02d530b57b700bb9ee32f12ccf57c /boot/1.0/vts
parent6633f75d26d11b2231be742fdde5473a3bb395ca (diff)
downloadplatform-hardware-interfaces-bfe09b9da659ed9b92a797b798b4ef772af8cfbd.tar.gz
platform-hardware-interfaces-bfe09b9da659ed9b92a797b798b4ef772af8cfbd.tar.xz
platform-hardware-interfaces-bfe09b9da659ed9b92a797b798b4ef772af8cfbd.zip
Add boot profiling tests.
Create boot profiling tests. Bug: 34177792 Test: make vts, run vts -m HalBootHidlTargetProfilingTest Change-Id: I65f85e9f4681323187fc263cbf93bd8cc2f29b9b
Diffstat (limited to 'boot/1.0/vts')
-rw-r--r--boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target_profiling/Android.mk23
-rw-r--r--boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target_profiling/AndroidTest.xml31
2 files changed, 54 insertions, 0 deletions
diff --git a/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target_profiling/Android.mk b/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target_profiling/Android.mk
new file mode 100644
index 00000000..f7414dfc
--- /dev/null
+++ b/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target_profiling/Android.mk
@@ -0,0 +1,23 @@
1#
2# Copyright (C) 2016 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
20
21LOCAL_MODULE := HalBootHidlTargetProfilingTest
22VTS_CONFIG_SRC_DIR := testcases/hal/boot/hidl/target
23include test/vts/tools/build/Android.host_config.mk
diff --git a/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target_profiling/AndroidTest.xml b/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target_profiling/AndroidTest.xml
new file mode 100644
index 00000000..dbc6300b
--- /dev/null
+++ b/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target_profiling/AndroidTest.xml
@@ -0,0 +1,31 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16<configuration description="Config for VTS Boot HIDL HAL's target-side test cases">
17 <target_preparer class="com.android.compatibility.common.tradefed.targetprep.VtsFilePusher">
18 <option name="push-group" value="HidlHalTest.push" />
19 </target_preparer>
20 <target_preparer class="com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer" />
21 <test class="com.android.tradefed.testtype.VtsMultiDeviceTest">
22 <option name="test-module-name" value="HalBootHidlTargetProfilingTest"/>
23 <option name="binary-test-sources" value="
24 _32bit::DATA/nativetest/boot_hidl_hal_test/boot_hidl_hal_test,
25 _64bit::DATA/nativetest64/boot_hidl_hal_test/boot_hidl_hal_test,
26 "/>
27 <option name="binary-test-type" value="gtest" />
28 <option name="test-timeout" value="5m" />
29 <option name="enable-profiling" value="true" />
30 </test>
31</configuration>