mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
tests: update core_getversion to run on any platform
Signed-off-by: Micah Fedke <micah.fedke@collabora.co.uk> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
@@ -37,7 +37,7 @@ igt_simple_main
|
||||
int fd;
|
||||
drmVersionPtr v;
|
||||
|
||||
fd = drm_open_driver(DRIVER_INTEL);
|
||||
fd = drm_open_driver(DRIVER_ANY);
|
||||
v = drmGetVersion(fd);
|
||||
igt_assert(strlen(v->name) != 0);
|
||||
igt_assert(strlen(v->date) != 0);
|
||||
|
||||
Reference in New Issue
Block a user