mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +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:
+2
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user