mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +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);
|
gem_close(fd, execobj.handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
igt_simple_main
|
igt_main
|
||||||
{
|
{
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
igt_skip_on_simulation();
|
igt_fixture
|
||||||
fd = drm_open_driver(DRIVER_INTEL);
|
fd = drm_open_driver(DRIVER_INTEL);
|
||||||
|
|
||||||
|
igt_subtest("single") /* basic! */
|
||||||
single(fd);
|
single(fd);
|
||||||
|
igt_subtest("many")
|
||||||
many(fd);
|
many(fd);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user