mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
tests|lib: remove assert.h includes
Only the igt core and non-test tools should have asserts to catch internal errors, tests and helper libraries should all user igt_asert instead. Fix things up where assert instead of igt_assert was used. One tiny step towards header sanity. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -83,7 +83,7 @@ store_dword_loop(int divider, unsigned flags)
|
||||
cmd_address_offset = j * 4;
|
||||
buf[j++] = target_bo->offset;
|
||||
}
|
||||
assert(j > 0);
|
||||
igt_assert(j > 0);
|
||||
buf[j++] = 0x42000000 + val;
|
||||
|
||||
igt_assert(drm_intel_bo_references(cmd_bo, target_bo) == 0);
|
||||
|
||||
Reference in New Issue
Block a user