test: v4l2_device: Switch most tests to vimc

The vimc driver delivers frames much faster then the vivid driver hence
most v4l2 device tests complete much quicker if vimc is used. The only
v4l2 device test which can't be switched is buffer_sharing as it needs
to import buffers somewhere, something vimc do not support.

With this change I manage to shave of almost 7 seconds for each run of
all v4l2 device tests.

Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Niklas Söderlund 2019-05-08 17:48:44 +02:00
parent 44937caa3d
commit 0085202fe2
5 changed files with 5 additions and 5 deletions

View file

@ -19,7 +19,7 @@ class Format : public V4L2DeviceTest
{
public:
Format()
: V4L2DeviceTest("vivid", "vivid-000-vid-cap") {}
: V4L2DeviceTest("vimc", "Raw Capture 0") {}
protected:
int run()
{