mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 21:32:56 +00:00
tests: roll out igt_simple_init/igt_simple_main
Also use igt_skip a bit more to simplify some of the tests. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -63,7 +63,7 @@ static uint64_t timer_query(int fd)
|
||||
return reg_read.val;
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
igt_simple_main
|
||||
{
|
||||
struct local_drm_i915_reg_read reg_read;
|
||||
int fd, ret;
|
||||
@@ -88,5 +88,4 @@ int main(int argc, char *argv[])
|
||||
EINVAL, "bad register");
|
||||
|
||||
close(fd);
|
||||
igt_success();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user