diff options
author | Mark Yacoub <markyacoub@google.com> | 2021-09-22 19:36:23 +0000 |
---|---|---|
committer | Mark Yacoub <markyacoub@google.com> | 2021-09-23 16:40:56 +0000 |
commit | e02037bfd63fb26dd32b9e9ceb1ca131ddbf30c3 (patch) | |
tree | 643d7e52998dbfd8da8cebafe0d0a331e86a337c /tests/template.c | |
parent | bc5979b6760ae2f73e6ad76b6a906feb6bc33fc4 (diff) |
tests/template: Use DRIVER_ANY in for drm_open_driver
[Why]
Make it run on all drivers.
[How]
open any driver instead of intel only.
Tested-on: ChromeOS Zork(amdgpu)
Signed-off-by: Mark Yacoub <markyacoub@chromium.org>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/template.c')
-rw-r--r-- | tests/template.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/template.c b/tests/template.c index 5fbd3104..e23814fb 100644 --- a/tests/template.c +++ b/tests/template.c @@ -61,8 +61,7 @@ int drm_fd; igt_main { igt_fixture { - drm_fd = drm_open_driver(DRIVER_INTEL); - igt_require(drm_fd >= 0); + drm_fd = drm_open_driver(DRIVER_ANY); /* Set up other interesting stuff shared by all tests. */ } |