mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
tests: run igt.cocci
Re-run with correct igt_fail rules. Again manually fixup missing includes for igt_core.h. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -44,10 +44,8 @@ static uint64_t timer_query(int fd)
|
||||
struct local_drm_i915_reg_read reg_read;
|
||||
|
||||
reg_read.offset = 0x2358;
|
||||
if (drmIoctl(fd, REG_READ_IOCTL, ®_read)) {
|
||||
perror("positive test case failed: ");
|
||||
igt_fail(1);
|
||||
}
|
||||
igt_fail_on_f(drmIoctl(fd, REG_READ_IOCTL, ®_read),
|
||||
"positive test case failed: ");
|
||||
|
||||
return reg_read.val;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user