diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-30 16:03:46 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-12-01 17:31:27 +0100 |
commit | 92e83cb379cd36c72ce1a254a1b80320b21a3ae1 (patch) | |
tree | a5c9044498530796153327f380f8e63dd3733a6e | |
parent | 3b75839b795c3e206316f4423b1f9ae01c91d64c (diff) |
tests: Rename drm_auth to core_auth
It really is a core drm testcase and not a libdrm testcase. While at it
also make it generic, since it is.
Cc: Daniel Stone <daniels@collabora.com>
Acked-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | tests/.gitignore | 2 | ||||
-rw-r--r-- | tests/Makefile.sources | 2 | ||||
-rw-r--r-- | tests/core_auth.c (renamed from tests/drm_auth.c) | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/.gitignore b/tests/.gitignore index 85936ea4..6291c04a 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -1,10 +1,10 @@ # Please keep sorted alphabetically +core_auth core_get_client_auth core_getclient core_getstats core_getversion core_prop_blob -drm_auth drm_import_export drm_read drm_vma_limiter diff --git a/tests/Makefile.sources b/tests/Makefile.sources index ff178f7a..ac3994da 100644 --- a/tests/Makefile.sources +++ b/tests/Makefile.sources @@ -98,11 +98,11 @@ TESTS_progs_M = \ $(NULL) TESTS_progs = \ + core_auth \ core_getclient \ core_getstats \ core_getversion \ core_prop_blob \ - drm_auth \ drm_import_export \ drm_read \ drm_vma_limiter \ diff --git a/tests/drm_auth.c b/tests/core_auth.c index d262469d..79bd5875 100644 --- a/tests/drm_auth.c +++ b/tests/core_auth.c @@ -120,7 +120,7 @@ static void test_basic_auth(int master) int slave; /* open slave and make sure it's NOT a master */ - slave = drm_open_driver(DRIVER_INTEL); + slave = drm_open_driver(DRIVER_ANY); igt_require(slave >= 0); igt_require(drmSetMaster(slave) < 0); @@ -151,7 +151,7 @@ igt_main int master; igt_fixture - master = drm_open_driver_master(DRIVER_INTEL); + master = drm_open_driver_master(DRIVER_ANY); igt_subtest("basic-auth") test_basic_auth(master); |