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:
@@ -30,7 +30,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <errno.h>
|
||||
@@ -98,7 +97,7 @@ static int many_exec(int fd, uint32_t batch, int num_exec, int num_reloc, unsign
|
||||
|
||||
gem_exec = calloc(num_exec+1, sizeof(*gem_exec));
|
||||
gem_reloc = calloc(num_reloc, sizeof(*gem_reloc));
|
||||
assert(gem_exec && gem_reloc);
|
||||
igt_assert(gem_exec && gem_reloc);
|
||||
|
||||
for (n = 0; n < num_exec; n++) {
|
||||
gem_exec[n].handle = gem_create(fd, 4096);
|
||||
|
||||
Reference in New Issue
Block a user