OSDN Git Service

tests: skip drmdevice test if the machine doesn't have any drm device
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 9 Nov 2018 19:00:35 +0000 (19:00 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Sun, 11 Nov 2018 18:39:57 +0000 (18:39 +0000)
commite642f480b816f21448fc616f6122df5e8a6070fa
tree7c041d123e971f5c02a113746e6ea6a8ce3cd6a4
parent8c1fddc640999ab94a64129cd3e1c68e6dc14502
tests: skip drmdevice test if the machine doesn't have any drm device

Error message was invalid too, negative values aren't the number of
devices, they're errno error codes.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
tests/drmdevice.c