projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc888c2
)
tests/kms_flip: Skip if no clone configuration could be found
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 7 Oct 2013 20:55:14 +0000
(22:55 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Mon, 7 Oct 2013 20:55:14 +0000
(22:55 +0200)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/kms_flip.c
patch
|
blob
|
history
diff --git
a/tests/kms_flip.c
b/tests/kms_flip.c
index
48f7a8f
..
5887d43
100644
(file)
--- a/
tests/kms_flip.c
+++ b/
tests/kms_flip.c
@@
-1343,7
+1343,9
@@
static int run_pair(int duration, int flags)
}
}
- igt_assert(modes);
+ /* 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);
duration = duration * 1000 / modes;
duration = duration < 500 ? 500 : duration;