mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
tests/pm_pc8: skip tests when no screens are connected
Instead of failing, just skip the tests. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=73642 Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
This commit is contained in:
parent
abba92d9cf
commit
1fd9fc0012
@ -355,7 +355,8 @@ static bool enable_one_screen_with_type(struct mode_set_data *data,
|
||||
|
||||
static void enable_one_screen(struct mode_set_data *data)
|
||||
{
|
||||
igt_assert(enable_one_screen_with_type(data, SCREEN_TYPE_ANY));
|
||||
/* SKIP if there are no connected screens. */
|
||||
igt_require(enable_one_screen_with_type(data, SCREEN_TYPE_ANY));
|
||||
}
|
||||
|
||||
static drmModePropertyBlobPtr get_connector_edid(drmModeConnectorPtr connector,
|
||||
|
Loading…
x
Reference in New Issue
Block a user