Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8200a153 authored by Polina Bondarenko's avatar Polina Bondarenko
Browse files

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
parent ff40e1f5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -31,8 +31,12 @@ cc_test {
    ],
    static_libs: ["libgtest"],
    cflags: [
        "--coverage",
        "-O0",
        "-g",
    ],
    ldflags: [
        "--coverage"
    ]
}
+2 −0
Original line number Diff line number Diff line
@@ -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>
+25 −0
Original line number Diff line number Diff line
{
    "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"
                    }
                }]
}