summaryrefslogtreecommitdiff
path: root/test/v4l2_device/formats.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-05-08 17:48:44 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-05-17 20:39:03 +0200
commit0085202fe26c3e96cf0f1dacf52388edf3005c5c (patch)
treeff1859837e01d6959aaf123545f648cbfe61a22d /test/v4l2_device/formats.cpp
parent44937caa3d4be3e17e1402575431c3ef17704c90 (diff)
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>
Diffstat (limited to 'test/v4l2_device/formats.cpp')
-rw-r--r--test/v4l2_device/formats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/v4l2_device/formats.cpp b/test/v4l2_device/formats.cpp
index 3ac47f5c..6be045ff 100644
--- a/test/v4l2_device/formats.cpp
+++ b/test/v4l2_device/formats.cpp
@@ -19,7 +19,7 @@ class Format : public V4L2DeviceTest
{
public:
Format()
- : V4L2DeviceTest("vivid", "vivid-000-vid-cap") {}
+ : V4L2DeviceTest("vimc", "Raw Capture 0") {}
protected:
int run()
{