From patchwork Mon May 25 09:11:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 26798 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 9FE9BC328C for ; Mon, 25 May 2026 09:11:41 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4196263024; Mon, 25 May 2026 11:11:40 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="oH03LlNN"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 25AE462E9D for ; Mon, 25 May 2026 11:11:38 +0200 (CEST) Received: from charm.ideasonboard.com (ams.linuxembedded.co.uk [209.38.108.23]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 9ACB1448; Mon, 25 May 2026 11:11:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1779700280; bh=kWKqlN9b4BEnkZcQpcWWszjD/jgplVzfL5zHu8NPhBk=; h=From:To:Cc:Subject:Date:From; b=oH03LlNNXN0KN1zbxpw7atY+4bhDZl320IPDrkPRhm9+llEO/w/qFTqDEQFpSXXUM MxSwAaZTy6eBPkAYnRF/HmnH9sMDpl7lt8Vh8sgLkOMiqzh8Om04DGGQQ2gpw0OYex iqb9PA5V/t9fr8AUmHMtgE5SUSVhaX/QPs3ve4Ow= From: Kieran Bingham To: libcamera devel Cc: Kieran Bingham Subject: [PATCH] apps: lc-compliance: Reduce test repetition Date: Mon, 25 May 2026 11:11:31 +0200 Message-ID: <20260525091131.22793-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" The lc-compliance test suite runs many combinations of tests with a variable number of requetss. This can validate that a pipeline handler succeeds with early startup and shutdown but having many different runs of the same test can be very slow. Reduce the set of NUMREQUESTS to continue validating the early (low count) tests and reduce the higher quantities which provide less value, but keep the highest as a more complete test. Signed-off-by: Kieran Bingham --- src/apps/lc-compliance/tests/capture_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/lc-compliance/tests/capture_test.cpp b/src/apps/lc-compliance/tests/capture_test.cpp index 29d8b7f841da..d7d6f0626e38 100644 --- a/src/apps/lc-compliance/tests/capture_test.cpp +++ b/src/apps/lc-compliance/tests/capture_test.cpp @@ -114,7 +114,7 @@ TEST_P(SimpleCapture, UnbalancedStop) capture.run(numRequests); } -const int NUMREQUESTS[] = { 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 }; +const int NUMREQUESTS[] = { 1, 2, 3, 5, 8, 89 }; const std::vector SINGLEROLES[] = { { StreamRole::Raw, },