From: Daniel Vetter Date: Mon, 7 Oct 2013 20:55:14 +0000 (+0200) Subject: tests/kms_flip: Skip if no clone configuration could be found X-Git-Tag: intel-gpu-tools-1.5~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=304c458d542a3eee928c0004432aea8f20ca42fb;p=profile%2Fextras%2Fintel-gpu-tools.git tests/kms_flip: Skip if no clone configuration could be found Signed-off-by: Daniel Vetter --- diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 48f7a8f..5887d43 100644 --- 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;