From 3b94d3f8ce21c92d3209e73ab48fda64beb0037e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 29 Aug 2014 13:11:40 +0100 Subject: igt: Prettify igt_assert_eq() failure messages This just improves the language about the exact failure to reduce confusion. Signed-off-by: Chris Wilson --- tests/kms_cursor_crc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_cursor_crc.c') 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(); -- cgit v1.2.3