summaryrefslogtreecommitdiff
path: root/boot/1.0/vts/functional/VtsHalBootV1_0TargetTest.cpp
AgeCommit message (Collapse)Author
2020-07-28Suppress gtest error for tests without any instanceDan Shi
Bug: 162052785 Test: m -j vts Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
2020-05-18Re-enable boot HAL tests and make sure they restore previous slot flags.David Anderson
Bug: 154667790 Test: set slot to a run SetActiveBootSlot/SetSlotAsUnbootable tests fastboot reboot bootloader fastboot getvar current-slot shoud be a repeat on b slot Change-Id: Icff45d3949d0ad76d22bdf8830c0903e81027b6e
2020-05-14[VTS] Ignore tests of setting Active Boot Slot.nelsonli
Skip the test of SetActiveBootSlot and SetSlotAsUnbootable to avoid booting problem if bootloader image doesn't exist in slot-B Bug: 154667790 Test: atest VtsHalBootV1_0TargetTest Change-Id: I80600a3312ccffe9471135198706ce068edc67f1
2019-10-18[vts-core] add VtsHalBootV1_0TargetTest to vts-corenelsonli
Convert VtsHalBootV1_0TargetTest to be parameterized test and add it to vts-core Bug: 142397658 Test: $ atest VtsHalBootV1_0TargetTest Change-Id: I96c5e07dba739722227ee1ad0e365cfed3ea822c
2018-02-23Fix boot VTS GetSuffix testConnor O'Brien
Rather than requiring "_a" and "_b" specifically, check format and uniqueness of each suffix. Bug: 69795155 Test: vts-tradefed run vts -m VtsHalBootV1_0Target Change-Id: Iaf626a31b499ef74fd3c21b0a0757424a0def457 Signed-off-by: Connor O'Brien <connoro@google.com>
2017-12-04Convert boot, memtrack and power hal to use service name aware testing.Zhuoyao Zhang
Motivation: 1) Support running the test against each hal service instance for the registered hal. 2) Support testability checker to determine whether we should run the test on the taget device. 3) Help to determine the process we want to profile for coverage data if running on coverage build. Bug: 64203181 Test: make vts vts-tradefed run vts -m VtsHalBootV1_0Target vts-tradefed run vts -m VtsHalMemtrackV1_0Target vts-tradefed run vts -m VtsHalPowerV1_0Target vts-tradefed run vts -m VtsHalPowerV1_1Target Change-Id: Ie0bbd9ef9d9fbe11de5aee70fad9028fa0ae897c
2017-04-05Fix hidl_string copy in boot VTS testConnor O'Brien
hidl_strings returned through a callback need to be copied; the current approach just saves a pointer to the underlying buffer, which is incorrect and sometimes causes the test to fail. Test: the GetSuffix test now passes reliably Change-Id: I4bb143be98b00b20f9da4aebef3b5ab4980b7690 Signed-off-by: Connor O'Brien <connoro@google.com>
2017-03-10Change vts target base test class nameYuexi Ma
Test: make vts succeed, vts kernel tests and nfc hal tests passed Change-Id: I95f10ad7a66f261c9030357edd411fe6d94150e8
2017-02-28change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)Yuexi Ma
Bug: 33385836 Test: mma Change-Id: Ide3ebc4a9db76257f33bcfb0c1f13d2ee33eeaa8
2017-02-21Update the test binary and source file name on master.Zhuoyao Zhang
* To confirm with Vts naming convention. Bug: 35273456 Test: mma Change-Id: I845da64085253cd02480465479618308045a52ed