mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 06:13:04 +00:00
igt.cocci: Replace igt_assert() with igt_assert_CMP() where possible
The integer comparison macros give us better error output by including the actual values that failed the comparison. Signed-off-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
This commit is contained in:
committed by
Daniel Vetter
parent
14a3d88a09
commit
07be8fec15
@@ -74,7 +74,7 @@ create_bo(int fd, uint32_t start_val)
|
||||
|
||||
bo = drm_intel_bo_alloc(bufmgr, "tiled bo", 1024 * 1024, 4096);
|
||||
ret = drm_intel_bo_set_tiling(bo, &tiling, width * 4);
|
||||
igt_assert(ret == 0);
|
||||
igt_assert_eq(ret, 0);
|
||||
igt_assert(tiling == I915_TILING_X);
|
||||
|
||||
/* Fill the BO with dwords starting at start_val */
|
||||
|
||||
Reference in New Issue
Block a user