OSDN Git Service

Skip tests when the drm scheme is not installed
authorJeff Tinker <jtinker@google.com>
Fri, 14 Apr 2017 01:27:25 +0000 (18:27 -0700)
committerJeff Tinker <jtinker@google.com>
Fri, 14 Apr 2017 20:28:32 +0000 (13:28 -0700)
commitbe310b2b77fbde99af326263a9ee6995225c4284
treed09173fdfeff3aba546d3df9a3268a3784173e6a
parent6799c3a5c597813154e20837c58703eba7996dfe
Skip tests when the drm scheme is not installed

Not all drm hal implmentations will be present on every device,
but the vendor modules will be. This change allows tests to be skipped
when a drm hal implementation isn't present.

Test: drm vts tests pass with widevine on a gms
device (tests executed) and tests pass on an aosp
device (tests skipped).

Change-Id: I0b87f501a45103960193279eb5b4b2cd1c113acd
drm/1.0/vts/functional/drm_hal_vendor_module_api.h
drm/1.0/vts/functional/drm_hal_vendor_test.cpp