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>
This commit is contained in:
Chris Wilson
2014-08-29 13:11:40 +01:00
parent d0a41b47ea
commit 3b94d3f8ce
11 changed files with 76 additions and 40 deletions
+1 -1
View File
@@ -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();