diff options
author | Marius Vlad <marius.c.vlad@intel.com> | 2016-02-12 15:26:10 +0200 |
---|---|---|
committer | Marius Vlad <marius.c.vlad@intel.com> | 2016-02-14 19:22:25 +0200 |
commit | 0a45d6ba1371bb879f55d9f75d893552c2f71c97 (patch) | |
tree | ff28785df5b4d7275385b13db0ba0150ac6600dc | |
parent | 42c7dd1255cd1e37298b76d38ea9962e76efd63a (diff) |
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>
-rw-r--r-- | tests/prime_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/prime_mmap.c b/tests/prime_mmap.c index 29a0cfd5e..1ea61c2fd 100644 --- a/tests/prime_mmap.c +++ b/tests/prime_mmap.c @@ -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) |