mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user