summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConnor O'Brien2016-12-19 20:45:18 -0600
committerConnor O'Brien2016-12-20 14:32:14 -0600
commit7422ab7e2373a13c6014f12e3c58653c42988aeb (patch)
treea61812e41058eceb75b55d6098382692812c5745 /boot/1.0/vts
parentfe08f754be038a90850f1b829d170749fcf97c27 (diff)
downloadplatform-hardware-interfaces-7422ab7e2373a13c6014f12e3c58653c42988aeb.tar.gz
platform-hardware-interfaces-7422ab7e2373a13c6014f12e3c58653c42988aeb.tar.xz
platform-hardware-interfaces-7422ab7e2373a13c6014f12e3c58653c42988aeb.zip
Add code coverage for boot VTS tests
Test: built and ran tests. Bug: 32022514 Change-Id: Icec5738317ec3758f432fe0d4f80dd4b19be30ed Signed-off-by: Connor O'Brien <connoro@google.com>
Diffstat (limited to 'boot/1.0/vts')
-rw-r--r--boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target/AndroidTest.xml1
-rw-r--r--boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target/HalBootHidlTargetTest.config20
2 files changed, 21 insertions, 0 deletions
diff --git a/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target/AndroidTest.xml b/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target/AndroidTest.xml
index 6c7809c9..bc759bf9 100644
--- a/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target/AndroidTest.xml
+++ b/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target/AndroidTest.xml
@@ -24,6 +24,7 @@
24 _32bit::DATA/nativetest/boot_hidl_hal_test/boot_hidl_hal_test, 24 _32bit::DATA/nativetest/boot_hidl_hal_test/boot_hidl_hal_test,
25 _64bit::DATA/nativetest64/boot_hidl_hal_test/boot_hidl_hal_test, 25 _64bit::DATA/nativetest64/boot_hidl_hal_test/boot_hidl_hal_test,
26 "/> 26 "/>
27 <option name="test-config-path" value="vts/testcases/hal/boot/hidl/target/HalBootHidlTargetTest.config" />
27 <option name="binary-test-type" value="gtest" /> 28 <option name="binary-test-type" value="gtest" />
28 <option name="test-timeout" value="1m" /> 29 <option name="test-timeout" value="1m" />
29 </test> 30 </test>
diff --git a/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target/HalBootHidlTargetTest.config b/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target/HalBootHidlTargetTest.config
new file mode 100644
index 00000000..ebb4d1b4
--- /dev/null
+++ b/boot/1.0/vts/functional/vts/testcases/hal/boot/hidl/target/HalBootHidlTargetTest.config
@@ -0,0 +1,20 @@
1{
2 "use_gae_db": true,
3 "coverage": true,
4 "modules": [
5 {
6 "module_name": "system/lib64/hw/bootctrl.msm8996",
7 "git_project": {
8 "name": "platform/hardware/qcom/bootctrl",
9 "path": "hardware/qcom/bootctrl"
10 }
11 },
12 {
13 "module_name": "system/lib64/hw/android.hardware.boot@1.0-impl",
14 "git_project": {
15 "name": "platform/hardware/interfaces",
16 "path": "hardware/interfaces"
17 }
18 }
19 ]
20}