From patchwork Wed May 8 16:58:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 1177 Return-Path: Received: from bin-mail-out-06.binero.net (bin-mail-out-06.binero.net [195.74.38.229]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3203B60E59 for ; Wed, 8 May 2019 18:58:30 +0200 (CEST) X-Halon-ID: 785db9d0-71b2-11e9-81fd-0050569116f7 Authorized-sender: niklas@soderlund.pp.se Received: from localhost.localdomain (unknown [79.138.136.66]) by bin-vsp-out-03.atm.binero.net (Halon) with ESMTPA id 785db9d0-71b2-11e9-81fd-0050569116f7; Wed, 08 May 2019 18:58:28 +0200 (CEST) From: =?utf-8?q?Niklas_S=C3=B6derlund?= To: libcamera-devel@lists.libcamera.org Date: Wed, 8 May 2019 18:58:09 +0200 Message-Id: <20190508165814.26201-1-niklas.soderlund@ragnatech.se> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/5] test: v4l2_device: Cleanups and a small speed increase X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 May 2019 16:58:30 -0000 Hi, This series started as an itch to speed up the tests as I run them quiet often and find them useful, and resulted in a bit of a clean up as well. It depends on [1]. With this applied I shave almost 7 seconds of the v4l2 device tests which is nice! 1. [PATCH v2 00/11] libcamerea: Add support for exclusive access to cameras between processes Niklas Söderlund (5): test: v4l2_device: Order class sections test: v4l2_device: Implement functions inside class definition in cpp files test: v4l2_device: Allow each test to specify which device and entity to test test: v4l2_device: Reset media links and set a resolution test: v4l2_device: Switch most tests to vimc test/v4l2_device/buffer_sharing.cpp | 21 +++++---- test/v4l2_device/capture_async.cpp | 2 +- test/v4l2_device/double_open.cpp | 3 ++ test/v4l2_device/formats.cpp | 61 ++++++++++++++------------- test/v4l2_device/request_buffers.cpp | 4 ++ test/v4l2_device/stream_on_off.cpp | 3 ++ test/v4l2_device/v4l2_device_test.cpp | 25 +++++++++-- test/v4l2_device/v4l2_device_test.h | 6 ++- 8 files changed, 77 insertions(+), 48 deletions(-)