diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-29 13:11:40 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-08-29 13:20:36 +0100 |
commit | 3b94d3f8ce21c92d3209e73ab48fda64beb0037e (patch) | |
tree | 8467a7e779de0d82be02b212196fc6e5f39b3486 /tests/prime_self_import.c | |
parent | d0a41b47ea5ed1ac5ca45f83d2917c6ad41b644a (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/prime_self_import.c')
-rw-r--r-- | tests/prime_self_import.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/prime_self_import.c b/tests/prime_self_import.c index defe97ef..470917a5 100644 --- a/tests/prime_self_import.c +++ b/tests/prime_self_import.c @@ -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) |