summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/gem_linear_blits.c1
-rw-r--r--tests/gem_tiled_blits.c1
-rw-r--r--tests/gem_tiled_fence_blits.c1
-rw-r--r--tests/gem_wait.c1
-rw-r--r--tests/kms_busy.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/tests/gem_linear_blits.c b/tests/gem_linear_blits.c
index 6cb6b064..eccfbcdd 100644
--- a/tests/gem_linear_blits.c
+++ b/tests/gem_linear_blits.c
@@ -223,6 +223,7 @@ int main(int argc, char **argv)
igt_fixture {
fd = drm_open_driver(DRIVER_INTEL);
+ igt_require_gem(fd);
}
igt_subtest("basic")
diff --git a/tests/gem_tiled_blits.c b/tests/gem_tiled_blits.c
index 10e30dfb..7dcfc962 100644
--- a/tests/gem_tiled_blits.c
+++ b/tests/gem_tiled_blits.c
@@ -200,6 +200,7 @@ int main(int argc, char **argv)
igt_fixture {
fd = drm_open_driver(DRIVER_INTEL);
+ igt_require_gem(fd);
bufmgr = drm_intel_bufmgr_gem_init(fd, 4096);
drm_intel_bufmgr_gem_enable_reuse(bufmgr);
diff --git a/tests/gem_tiled_fence_blits.c b/tests/gem_tiled_fence_blits.c
index d4bcf203..eb6473bc 100644
--- a/tests/gem_tiled_fence_blits.c
+++ b/tests/gem_tiled_fence_blits.c
@@ -166,6 +166,7 @@ igt_main
igt_fixture {
fd = drm_open_driver(DRIVER_INTEL);
+ igt_require_gem(fd);
}
igt_subtest("basic") {
diff --git a/tests/gem_wait.c b/tests/gem_wait.c
index 3b987595..591690ad 100644
--- a/tests/gem_wait.c
+++ b/tests/gem_wait.c
@@ -169,6 +169,7 @@ igt_main
igt_fixture {
fd = drm_open_driver_master(DRIVER_INTEL);
+ igt_require_gem(fd);
}
igt_subtest("invalid-flags")
diff --git a/tests/kms_busy.c b/tests/kms_busy.c
index 44ab2056..d6ef1f17 100644
--- a/tests/kms_busy.c
+++ b/tests/kms_busy.c
@@ -292,6 +292,7 @@ igt_main
igt_fixture {
int fd = drm_open_driver_master(DRIVER_INTEL);
+ igt_require_gem(fd);
gem_require_mmap_wc(fd);
kmstest_set_vt_graphics_mode();