platform_bootable_recovery/tests/unit
Tao Bao 51f16ec76d tests: Skip ScreenRecoveryUITest on gr_init failure.
It addresses the ScreenRecoveryUITest failures on gce targets which
don't have any graphics backend. Probing for all backend devices in
tests could work, but would duplicate codes. This CL relies on the
result of gr_init().

As a side effect, it may give false negatives if gr_init() is supposed
to work but silently broken. But such issues are beyond
ScreenRecoveryUITest's concern, which should be captured by the tests
for minui or graphics backends instead.

Fixes: 79616356
Test: Run recovery_unit_test on marlin.
Test: Run recovery_unit_test on gce.
Change-Id: I121aacc61c8a614447509506057ecfd8d86163e4
2018-06-13 23:28:21 -07:00
..
asn1_decoder_test.cpp Refactor asn1_decoder functions into a class. 2017-03-21 15:17:43 -07:00
commands_test.cpp updater: Add Commmand class to manage BBOTA commands. 2018-05-25 15:26:42 -07:00
dirutil_test.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00
locale_test.cpp Add the missing sr-Latn into png files and rename the png locale header 2017-03-24 16:54:52 -07:00
rangeset_test.cpp tests: Specify the death test style to avoid flakiness. 2018-06-05 14:06:59 -07:00
screen_ui_test.cpp tests: Skip ScreenRecoveryUITest on gr_init failure. 2018-06-13 23:28:21 -07:00
sysutil_test.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00
zip_test.cpp otautil: Rename dir/sys/thermal utils. 2018-05-03 23:17:29 -07:00