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
@@ -98,7 +98,7 @@ igt_main
igt_assert(drmIoctl(fd, \
DRM_IOCTL_I915_GEM_EXECBUFFER2, \
&execbuf) == -1); \
igt_assert_cmpint(errno, ==, expected_errno); \
igt_assert_eq(errno, expected_errno); \
} while(0)
igt_subtest("no-bsd") {