[Intel-gfx] [PATCH i-g-t 0/2] tests/BAT: Reduce reliance on fbcon.

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Tue Oct 10 16:04:26 UTC 2017


https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_1235/ shows what happens
in BAT if we make fbcon disable all outputs. debugfs_test.read_all_entries fails,
probably in a race with fbcon. I'm hoping to solve this by running the test twice,
once with all outputs enabled, other with all disabled. This should increase testing
coverage.

pm_backlight fails without output setup, and is fixed by simply attempting to enable
all outputs when we detect intel_backlight.

Maarten Lankhorst (2):
  tests/debugfs_test: Try to light all outputs to increase chances of finding fails.
  tests/pm_backlight: Enable all possible outputs to allow tests to succeed.

 tests/debugfs_test.c | 34 ++++++++++++++++++++++++++++++++++
 tests/pm_backlight.c | 27 +++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

-- 
2.14.1



More information about the Intel-gfx mailing list