drm/tests/util
Thierry Reding e744b02375 tests: Add helper to open a device/module
The new function util_open() encapsulates the standard method employed
by tests to open a device or module. There is a verbatim copy of this in
almost all test programs, with slight variations in the list of modules.
Moving this code into a common helper allows code reuse and makes tests
more consistent.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
2015-12-18 17:44:13 +00:00
..
Android.mk tests: Split helpers into library 2015-12-18 17:43:40 +00:00
Makefile.am tests: Split helpers into library 2015-12-18 17:43:40 +00:00
Makefile.sources tests: Move name tables to libutil 2015-12-18 17:44:01 +00:00
common.h tests: Split helpers into library 2015-12-18 17:43:40 +00:00
format.c tests: Split helpers into library 2015-12-18 17:43:40 +00:00
format.h tests: Split helpers into library 2015-12-18 17:43:40 +00:00
kms.c tests: Add helper to open a device/module 2015-12-18 17:44:13 +00:00
kms.h tests: Add helper to open a device/module 2015-12-18 17:44:13 +00:00
pattern.c tests: Split helpers into library 2015-12-18 17:43:40 +00:00
pattern.h tests: Split helpers into library 2015-12-18 17:43:40 +00:00