mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
lib/igt_kms.c: igt_require -> igt_require_f("two displays required\n")
The bare "Test requirement: modes" message is too cryptic, I had to go and read the source code to understand the missing requirement. Signed-off-by: Marc Herbert <marc.herbert@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
8e0a0c9de6
commit
d73c5eb977
@ -1544,7 +1544,7 @@ static int run_pair(int duration, int flags)
|
||||
|
||||
/* If we have fewer than 2 connected outputs then we won't have any
|
||||
* configuration at all. So skip in that case. */
|
||||
igt_require(modes);
|
||||
igt_require_f(modes, "At least two displays required\n");
|
||||
duration = duration * 1000 / modes;
|
||||
duration = max(duration, 500);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user