mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
tests/prime_mmap: Encapsulate check_for_dma_buf_mmap() in igt_fixture.
This unbreaks distcheck target that in turn runs each test with --list-subtests. Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
This commit is contained in:
parent
42c7dd1255
commit
0a45d6ba13
@ -504,10 +504,10 @@ igt_main
|
||||
|
||||
igt_fixture {
|
||||
fd = drm_open_driver(DRIVER_INTEL);
|
||||
igt_skip_on((check_for_dma_buf_mmap() != 0));
|
||||
errno = 0;
|
||||
}
|
||||
|
||||
igt_skip_on((check_for_dma_buf_mmap() != 0));
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(tests); i++) {
|
||||
igt_subtest(tests[i].name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user