diff options
Diffstat (limited to 'tests/gem_unref_active_buffers.c')
-rw-r--r-- | tests/gem_unref_active_buffers.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/gem_unref_active_buffers.c b/tests/gem_unref_active_buffers.c index 5cc7e145..6d63b893 100644 --- a/tests/gem_unref_active_buffers.c +++ b/tests/gem_unref_active_buffers.c @@ -35,7 +35,6 @@ #include <stdlib.h> #include <stdio.h> #include <string.h> -#include <assert.h> #include <fcntl.h> #include <inttypes.h> #include <errno.h> @@ -69,7 +68,7 @@ int main(int argc, char **argv) //drm_intel_bufmgr_gem_enable_reuse(bufmgr); batch = intel_batchbuffer_alloc(bufmgr, intel_get_drm_devid(fd)); - assert(batch); + igt_assert(batch); /* put some load onto the gpu to keep the light buffers active for long * enough */ |