summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_crc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-08-29 13:11:40 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-08-29 13:20:36 +0100
commit3b94d3f8ce21c92d3209e73ab48fda64beb0037e (patch)
tree8467a7e779de0d82be02b212196fc6e5f39b3486 /tests/kms_cursor_crc.c
parentd0a41b47ea5ed1ac5ca45f83d2917c6ad41b644a (diff)
igt: Prettify igt_assert_eq() failure messages
This just improves the language about the exact failure to reduce confusion. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/kms_cursor_crc.c')
-rw-r--r--tests/kms_cursor_crc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
index 47531f32..3f53859b 100644
--- a/tests/kms_cursor_crc.c
+++ b/tests/kms_cursor_crc.c
@@ -438,7 +438,7 @@ igt_main
igt_assert(ret == 0 || errno == EINVAL);
/* We assume width and height are same so max is assigned width */
- igt_assert_cmpint(cursor_width, ==, cursor_height);
+ igt_assert_eq(cursor_width, cursor_height);
kmstest_set_vt_graphics_mode();