mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-09 17:06:14 +00:00
igt/gem_exec_alignment: Convert to subtests
Allow both parts (single, many) to be run independently. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
28c33c6f90
commit
ad9b78f443
@ -193,14 +193,16 @@ static void single(int fd)
|
||||
gem_close(fd, execobj.handle);
|
||||
}
|
||||
|
||||
igt_simple_main
|
||||
igt_main
|
||||
{
|
||||
int fd;
|
||||
|
||||
igt_skip_on_simulation();
|
||||
fd = drm_open_driver(DRIVER_INTEL);
|
||||
igt_fixture
|
||||
fd = drm_open_driver(DRIVER_INTEL);
|
||||
|
||||
single(fd);
|
||||
many(fd);
|
||||
igt_subtest("single") /* basic! */
|
||||
single(fd);
|
||||
igt_subtest("many")
|
||||
many(fd);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user