summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Herbert <marc.herbert@intel.com>2015-02-26 18:43:43 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-02-27 16:06:37 +0100
commitd73c5eb97747c899eda2648e238711f6d516b4c9 (patch)
treede103472b257984b1c0d81b20b8e86ab9614b63e
parent8e0a0c9de658931454ba2a549d922e7e9f534dea (diff)
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>
-rw-r--r--tests/kms_flip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index b8434781..cae02e9b 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -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);