[Intel-gfx] [PATCH v3 4/7] tests: update core_get_client_auth to run on any platform
Micah Fedke
micah.fedke at collabora.co.uk
Fri Aug 14 08:22:33 PDT 2015
---
tests/core_get_client_auth.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/core_get_client_auth.c b/tests/core_get_client_auth.c
index 92313f9..3518bb7 100644
--- a/tests/core_get_client_auth.c
+++ b/tests/core_get_client_auth.c
@@ -84,7 +84,7 @@ igt_main
{
/* root (which we run igt as) should always be authenticated */
igt_subtest("simple") {
- int fd = drm_open_driver(DRIVER_INTEL);
+ int fd = drm_open_driver(OPEN_ANY_GPU);
igt_assert(check_auth(fd) == true);
@@ -92,8 +92,8 @@ igt_main
}
igt_subtest("master-drop") {
- int fd = drm_open_driver(DRIVER_INTEL);
- int fd2 = drm_open_driver(DRIVER_INTEL);
+ int fd = drm_open_driver(OPEN_ANY_GPU);
+ int fd2 = drm_open_driver(OPEN_ANY_GPU);
igt_assert(check_auth(fd2) == true);
--
2.1.4
More information about the Intel-gfx
mailing list