mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-23 14:23:03 +00:00
tests: s/assert/igt_assert
Just a wholesale rollout for now, we can refine later on. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -44,7 +44,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <errno.h>
|
||||
@@ -71,8 +70,8 @@ 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);
|
||||
assert(ret == 0);
|
||||
assert(tiling == I915_TILING_X);
|
||||
igt_assert(ret == 0);
|
||||
igt_assert(tiling == I915_TILING_X);
|
||||
|
||||
/* Fill the BO with dwords starting at start_val */
|
||||
for (i = 0; i < 1024 * 1024 / 4; i++)
|
||||
|
||||
Reference in New Issue
Block a user