Patch Detail
Show a patch.
GET /api/patches/26798/?format=api
{ "id": 26798, "url": "https://patchwork.libcamera.org/api/patches/26798/?format=api", "web_url": "https://patchwork.libcamera.org/patch/26798/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260525091131.22793-1-kieran.bingham@ideasonboard.com>", "date": "2026-05-25T09:11:31", "name": "apps: lc-compliance: Reduce test repetition", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "1208ea643ba15143470f509f87ed30f770b68f88", "submitter": { "id": 4, "url": "https://patchwork.libcamera.org/api/people/4/?format=api", "name": "Kieran Bingham", "email": "kieran.bingham@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/26798/mbox/", "series": [ { "id": 5962, "url": "https://patchwork.libcamera.org/api/series/5962/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5962", "date": "2026-05-25T09:11:31", "name": "apps: lc-compliance: Reduce test repetition", "version": 1, "mbox": "https://patchwork.libcamera.org/series/5962/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/26798/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/26798/checks/", "tags": {}, "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 9FE9BC328C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 25 May 2026 09:11:41 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4196263024;\n\tMon, 25 May 2026 11:11:40 +0200 (CEST)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 25AE462E9D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 25 May 2026 11:11:38 +0200 (CEST)", "from charm.ideasonboard.com (ams.linuxembedded.co.uk\n\t[209.38.108.23])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 9ACB1448;\n\tMon, 25 May 2026 11:11:20 +0200 (CEST)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"oH03LlNN\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1779700280;\n\tbh=kWKqlN9b4BEnkZcQpcWWszjD/jgplVzfL5zHu8NPhBk=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=oH03LlNNXN0KN1zbxpw7atY+4bhDZl320IPDrkPRhm9+llEO/w/qFTqDEQFpSXXUM\n\tMxSwAaZTy6eBPkAYnRF/HmnH9sMDpl7lt8Vh8sgLkOMiqzh8Om04DGGQQ2gpw0OYex\n\tiqb9PA5V/t9fr8AUmHMtgE5SUSVhaX/QPs3ve4Ow=", "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>", "To": "libcamera devel <libcamera-devel@lists.libcamera.org>", "Cc": "Kieran Bingham <kieran.bingham@ideasonboard.com>", "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", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "The lc-compliance test suite runs many combinations of tests with a\nvariable number of requetss.\n\nThis can validate that a pipeline handler succeeds with early startup\nand shutdown but having many different runs of the same test can be very\nslow.\n\nReduce the set of NUMREQUESTS to continue validating the early (low\ncount) tests and reduce the higher quantities which provide less value,\nbut keep the highest as a more complete test.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n src/apps/lc-compliance/tests/capture_test.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/src/apps/lc-compliance/tests/capture_test.cpp b/src/apps/lc-compliance/tests/capture_test.cpp\nindex 29d8b7f841da..d7d6f0626e38 100644\n--- a/src/apps/lc-compliance/tests/capture_test.cpp\n+++ b/src/apps/lc-compliance/tests/capture_test.cpp\n@@ -114,7 +114,7 @@ TEST_P(SimpleCapture, UnbalancedStop)\n \tcapture.run(numRequests);\n }\n \n-const int NUMREQUESTS[] = { 1, 2, 3, 5, 8, 13, 21, 34, 55, 89 };\n+const int NUMREQUESTS[] = { 1, 2, 3, 5, 8, 89 };\n \n const std::vector<StreamRole> SINGLEROLES[] = {\n \t{ StreamRole::Raw, },\n", "prefixes": [] }