mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 15:58:43 +00:00
Fix for VTS test CleanupConnectionsOnInitialize
Sensor event never occur on DUT that has no sensor. So, skip this test case on DUT that has no sensor. Test: run vts -m VtsHalSensorsV2_0TargetTest Bug: 273383821 Change-Id: I657b74ca3c67c105e40e58a7e4c700370a9db3e3 Signed-off-by: AOYAGI Takako <aoyagi.takako@jp.panasonic.com>
This commit is contained in:
committed by
Brian Duddie
parent
77b8b2524a
commit
45a15ed8b9
@@ -549,6 +549,11 @@ TEST_P(SensorsHidlTest, CallInitializeTwice) {
|
||||
}
|
||||
|
||||
TEST_P(SensorsHidlTest, CleanupConnectionsOnInitialize) {
|
||||
if (getSensorsList().size() == 0) {
|
||||
// No sensors
|
||||
return;
|
||||
}
|
||||
|
||||
activateAllSensors(true);
|
||||
|
||||
// Verify that events are received
|
||||
|
||||
Reference in New Issue
Block a user