diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-13 12:35:58 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-13 15:07:44 +0200 |
commit | 83440953e50d1c46217ce9bdcd74aa9a4671913d (patch) | |
tree | 4e94f8444c479e4e59be2b760dba01d3aa561ed2 /tests/gem_tiled_swapping.c | |
parent | 2371c79bbd69f46c2849298fb7f216a5b9a21aa8 (diff) |
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>
Diffstat (limited to 'tests/gem_tiled_swapping.c')
-rw-r--r-- | tests/gem_tiled_swapping.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/gem_tiled_swapping.c b/tests/gem_tiled_swapping.c index 06034f81..b1431dcd 100644 --- a/tests/gem_tiled_swapping.c +++ b/tests/gem_tiled_swapping.c @@ -47,7 +47,6 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> -#include <assert.h> #include <fcntl.h> #include <inttypes.h> #include <errno.h> @@ -107,10 +106,10 @@ main(int argc, char **argv) /* need slightly more than total ram */ count = intel_get_total_ram_mb() * 11 / 10; bo_handles = calloc(count, sizeof(uint32_t)); - assert(bo_handles); + igt_assert(bo_handles); idx_arr = calloc(count, sizeof(int)); - assert(idx_arr); + igt_assert(idx_arr); if (intel_get_total_swap_mb() == 0) { printf("no swap detected\n"); |