mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
tests: use igt_assert/igt_require more
With the new _f variants we can replace almost all of them. Also remove a ton of checks for argc != 1, they're a bit useless ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
+1
-2
@@ -125,8 +125,7 @@ static void run_on_ring(int fd, unsigned ring_id, const char *ring_name)
|
||||
gem_close(fd, handle);
|
||||
}
|
||||
|
||||
if (exec(fd, handle_new, split, >t_offset_new, 0))
|
||||
igt_fail(1);
|
||||
igt_assert(exec(fd, handle_new, split, >t_offset_new, 0) == 0);
|
||||
|
||||
if (split > 0) {
|
||||
/* Check that we've managed to collide in the tlb. */
|
||||
|
||||
Reference in New Issue
Block a user