From 83440953e50d1c46217ce9bdcd74aa9a4671913d Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 13 Aug 2013 12:35:58 +0200 Subject: tests: s/assert/igt_assert Just a wholesale rollout for now, we can refine later on. Signed-off-by: Daniel Vetter --- tests/prime_nv_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/prime_nv_test.c') diff --git a/tests/prime_nv_test.c b/tests/prime_nv_test.c index 7ee861eb..48422e66 100644 --- a/tests/prime_nv_test.c +++ b/tests/prime_nv_test.c @@ -58,7 +58,7 @@ static int find_and_open_devices(void) break; ret = fgets(vendor_id, 8, fl); - assert(ret); + igt_assert(ret); fclose(fl); venid = strtoul(vendor_id, NULL, 16); @@ -403,7 +403,7 @@ create_bo(drm_intel_bufmgr *ibufmgr, uint32_t val, int width, int height) drm_intel_bo *bo; bo = drm_intel_bo_alloc(ibufmgr, "bo", 4*width*height, 0); - assert(bo); + igt_assert(bo); /* gtt map doesn't have a write parameter, so just keep the mapping * around (to avoid the set_domain with the gtt write domain set) and -- cgit v1.2.3