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
+2 -2
View File
@@ -302,7 +302,7 @@ static void test_reimport_close_race(void)
close(fake);
igt_assert_cmpint(obj_count, ==, 0);
igt_assert_eq(obj_count, 0);
}
static void *thread_fn_export_vs_close(void *p)
@@ -376,7 +376,7 @@ static void test_export_close_race(void)
obj_count = get_object_count() - obj_count;
igt_info("leaked %i objects\n", obj_count);
igt_assert_cmpint(obj_count, ==, 0);
igt_assert_eq(obj_count, 0);
}
static void test_llseek_size(void)