Build target-side Thermal test with coverage.

Instrument Thermal test with coverage so that coverage can be collected
on Thermal implementation.

Test: make vts
Change-Id: I01e4bdf42351034d5fa0a0ff32848f33e0db3980
This commit is contained in:
Polina Bondarenko
2016-12-15 16:41:00 +01:00
parent ff40e1f5e8
commit 8200a153a6
3 changed files with 31 additions and 0 deletions

View File

@@ -31,8 +31,12 @@ cc_test {
],
static_libs: ["libgtest"],
cflags: [
"--coverage",
"-O0",
"-g",
],
ldflags: [
"--coverage"
]
}

View File

@@ -26,6 +26,8 @@
"/>
<option name="binary-test-type" value="gtest" />
<option name="test-timeout" value="5m" />
<option name="test-cobfig-path"
value="vts/testcases/hal/thermal/hidl/target/ThermalHidlBasicTest.config" />
</test>
</configuration>

View File

@@ -0,0 +1,25 @@
{
"use_gae_db": true,
"coverage": true,
"modules": [{
"module_name": "system/lib64/hw/thermal.bullhead",
"git_project": {
"name": "device/lge/bullhead",
"path": "device/lge/bullhead"
}
},
{
"module_name": "system/lib64/hw/thermal.marlin",
"git_project": {
"name": "device/google/marlin",
"path": "device/google/marlin"
}
},
{
"module_name": "system/lib64/hw/android.hardware.thermal@1.0-impl",
"git_project": {
"name": "platform/hardware/interfaces".
"path": "hardware/interfaces"
}
}]
}