mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-22 15:26:21 +00:00
tests/prime_self_import: Use igt_assert_cmpint
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
ea0116cdcd
commit
b4c1f2ea0f
@ -302,7 +302,7 @@ static void test_reimport_close_race(void)
|
||||
|
||||
close(fake);
|
||||
|
||||
igt_assert(obj_count == 0);
|
||||
igt_assert_cmpint(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(obj_count == 0);
|
||||
igt_assert_cmpint(obj_count, ==, 0);
|
||||
}
|
||||
|
||||
static void test_llseek_size(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user