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:
Daniel Vetter
2013-08-13 12:35:58 +02:00
parent 2371c79bbd
commit 83440953e5
98 changed files with 342 additions and 427 deletions
+3 -4
View File
@@ -35,7 +35,6 @@
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <fcntl.h>
#include <inttypes.h>
#include <errno.h>
@@ -119,9 +118,9 @@ int main(int argc, char *argv[])
handle = gem_create(fd, 4096);
gem_write(fd, handle, 0, batch, sizeof(batch));
assert(exec(fd, handle, I915_EXEC_RENDER, ctx_id) == 0);
assert(exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0);
assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0);
igt_assert(exec(fd, handle, I915_EXEC_RENDER, ctx_id) == 0);
igt_assert(exec(fd, handle, I915_EXEC_BSD, ctx_id) != 0);
igt_assert(exec(fd, handle, I915_EXEC_BLT, ctx_id) != 0);
exit(EXIT_SUCCESS);
}