diff options
author | Craig Donner <cdonner@google.com> | 2017-01-04 11:26:24 -0800 |
---|---|---|
committer | Craig Donner <cdonner@google.com> | 2017-01-04 11:46:23 -0800 |
commit | d0256ac97958d2dd76b91e70cd51e8f77fc065ad (patch) | |
tree | 044e1a24d765a73c13e1a4801bca458fb9c63f3b /vr/1.0 | |
parent | 6e3cb80c19d91cf2072f99bd230fb7719e8c6f1d (diff) | |
download | platform_hardware_interfaces-d0256ac97958d2dd76b91e70cd51e8f77fc065ad.tar.gz platform_hardware_interfaces-d0256ac97958d2dd76b91e70cd51e8f77fc065ad.tar.bz2 platform_hardware_interfaces-d0256ac97958d2dd76b91e70cd51e8f77fc065ad.zip |
Enable coverage for VR VTS.
Bug: 32022964
Test: manual
Change-Id: I597a9692886686934b374fac9e6bd1c51e683a92
Diffstat (limited to 'vr/1.0')
3 files changed, 32 insertions, 2 deletions
diff --git a/vr/1.0/vts/functional/Android.bp b/vr/1.0/vts/functional/Android.bp index 2929fe7cee..551f27c546 100644 --- a/vr/1.0/vts/functional/Android.bp +++ b/vr/1.0/vts/functional/Android.bp @@ -26,7 +26,11 @@ cc_test { ], static_libs: ["libgtest"], cflags: [ - "-O0", + "--coverage", + "-O0", "-g", ], + ldflags: [ + "--coverage" + ] } diff --git a/vr/1.0/vts/functional/vts/testcases/hal/vr/hidl/target/AndroidTest.xml b/vr/1.0/vts/functional/vts/testcases/hal/vr/hidl/target/AndroidTest.xml index a29c23b2c1..888a585400 100644 --- a/vr/1.0/vts/functional/vts/testcases/hal/vr/hidl/target/AndroidTest.xml +++ b/vr/1.0/vts/functional/vts/testcases/hal/vr/hidl/target/AndroidTest.xml @@ -26,6 +26,7 @@ "/> <option name="binary-test-type" value="gtest" /> <option name="test-timeout" value="1m" /> - </test> + <option name="test-config-path" value="vts/testcases/hal/vr/hidl/target/VrHidlTargetTest.config" /> +</test> </configuration> diff --git a/vr/1.0/vts/functional/vts/testcases/hal/vr/hidl/target/VrHidlTargetTest.config b/vr/1.0/vts/functional/vts/testcases/hal/vr/hidl/target/VrHidlTargetTest.config new file mode 100644 index 0000000000..ec01b5fe54 --- /dev/null +++ b/vr/1.0/vts/functional/vts/testcases/hal/vr/hidl/target/VrHidlTargetTest.config @@ -0,0 +1,25 @@ +{ + "use_gae_db": true, + "coverage": true, + "modules": [{ + "module_name": "system/lib64/hw/vr.marlin", + "git_project": { + "name": "device/google/marlin", + "path": "device/google/marlin" + } + }, + { + "module_name": "system/lib64/hw/vr.sailfish", + "git_project": { + "name": "device/google/marlin", + "path": "device/google/marlin" + } + }, + { + "module_name": "system/lib64/hw/android.hardware.vr@1.0-impl", + "git_project": { + "name": "platform/hardware/interfaces", + "path": "hardware/interfaces" + } + }] +} |