vsp-lib: Support optional features for tests
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 27 May 2016 08:50:07 +0000 (11:50 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 19 Jun 2016 12:26:01 +0000 (15:26 +0300)
commitb5f052feec329a39d4f176ef07f9b99370c7583d
treeb2df6a35dd357bc575b5891a42b9bf24fa37d0c5
parentfd30af3f493394ec72b3d942f759c43d8167cacb
vsp-lib: Support optional features for tests

Add a third argument to test_init() to pass a list of optional features.
If more than one media device supports all the required features, select
the one that supports the highest number of optional features.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
scripts/vsp-lib.sh