{"id":19337,"url":"https://patchwork.libcamera.org/api/1.1/covers/19337/?format=json","web_url":"https://patchwork.libcamera.org/cover/19337/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20231222164036.649245-1-jacopo.mondi@ideasonboard.com>","date":"2023-12-22T16:40:31","name":"[libcamera-devel,0/5] apps: lc-compliance: Add controls and properties test","submitter":{"id":143,"url":"https://patchwork.libcamera.org/api/1.1/people/143/?format=json","name":"Jacopo Mondi","email":"jacopo.mondi@ideasonboard.com"},"mbox":"https://patchwork.libcamera.org/cover/19337/mbox/","series":[{"id":4125,"url":"https://patchwork.libcamera.org/api/1.1/series/4125/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=4125","date":"2023-12-22T16:40:31","name":"apps: lc-compliance: Add controls and properties test","version":1,"mbox":"https://patchwork.libcamera.org/series/4125/mbox/"}],"comments":"https://patchwork.libcamera.org/api/covers/19337/comments/","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 A7E1BC31E9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 22 Dec 2023 16:40:51 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E646261D8F;\n\tFri, 22 Dec 2023 17:40:50 +0100 (CET)","from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 3825D61D8F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 22 Dec 2023 17:40:49 +0100 (CET)","from localhost.localdomain (93-61-96-190.ip145.fastwebnet.it\n\t[93.61.96.190])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 06A99250;\n\tFri, 22 Dec 2023 17:39:56 +0100 (CET)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1703263251;\n\tbh=OkmObDWuXU2g79DyzgacGXxG1XsadK5Q7h3xpEvCZq0=;\n\th=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:\n\tList-Help:List-Subscribe:From:Reply-To:Cc:From;\n\tb=gReEwxTFqzKverH0/vlwJqumoqE2/dDNRDGVEPdjh0t7takq5TTx6S8mJx1QyMJsw\n\t0tyWbrULMT5PQ1/ehi3+brN+/B1Og0a3NBm4w6OC67eU3dAIze0REmxOHJZmAK5qEC\n\t2TskDr4Z+Vj2qe994ILtFeE8ZEN7BvnNe4WKGJRkIgKZJZZPPzPMTepDRJo0j6f2NZ\n\ta8r9sbdfCz0eoNzhhYCnhXSAHJE2ooE6Apvk7LVVCN2z8RCUy77TbNhGNMLHSswLGR\n\tWNphdyHsOKHWTGV6ExOFN6j1BjfCd0BeePFbFpVZVpLseOTx9ZTPkDGNqd/H+80CIK\n\tcB307Ysx3nNVg==","v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1703263197;\n\tbh=OkmObDWuXU2g79DyzgacGXxG1XsadK5Q7h3xpEvCZq0=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=f4+NBk/uKRZ2poYsFrjFoB7wNq6JcUbFQqJkmvTtybwDU5moGCUghiAesXvyWyBj5\n\tkvZ3U0QZVGJgHy10MwXgrGOK+lt//BxRMufy5kmJD5A/OAuG5JwLc/tT5wpmEkag6+\n\tRdujxaFKsvPIdeDJ25RIDq1dl7MMlNZYqDl06Itw="],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"f4+NBk/u\"; dkim-atps=neutral","To":"libcamera-devel@lists.libcamera.org","Date":"Fri, 22 Dec 2023 17:40:31 +0100","Message-ID":"<20231222164036.649245-1-jacopo.mondi@ideasonboard.com>","X-Mailer":"git-send-email 2.41.0","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 0/5] apps: lc-compliance: Add controls and\n\tproperties test","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>","From":"Jacopo Mondi via libcamera-devel <libcamera-devel@lists.libcamera.org>","Reply-To":"Jacopo Mondi <jacopo.mondi@ideasonboard.com>","Cc":"Jacopo Mondi <jacopo.mondi@ideasonboard.com>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Add a test case to validate that mandatory properties and controls are\nregistered by a Camera.\n\nBefore adding a new test, a little refresh of the lc-compliance sources might\nhelp. I collected patches from the list for a few minor fixes and re-organized\nthe source tree by splitting helpers/ and tests/ in dedicated sub-directory.\n\nFinally, add a test for controls and properties.\n\nThe series is based on \"[PATCH 0/2] libcamera: Add support for required\ncontrols\" on which the test depends.\n\nThanks\n  j\n\nJacopo Mondi (3):\n  apps: lc-compliance: Fix typo in comment\n  apps: lc-compliance: Re-organize source directory\n  apps: lc-compliance: Test for mandatory controls\n\nNícolas F. R. A. Prado (2):\n  apps: lc-compliance: Fix source file ordering in meson.build\n  apps: lc-compliance: Check that requests complete successfully\n\n src/apps/lc-compliance/controls_test.cpp      | 98 +++++++++++++++++++\n .../capture.cpp}                              | 46 +++++----\n .../{simple_capture.h => helpers/capture.h}   | 14 +--\n src/apps/lc-compliance/meson.build            | 11 ++-\n .../{ => tests}/capture_test.cpp              |  9 +-\n 5 files changed, 145 insertions(+), 33 deletions(-)\n create mode 100644 src/apps/lc-compliance/controls_test.cpp\n rename src/apps/lc-compliance/{simple_capture.cpp => helpers/capture.cpp} (77%)\n rename src/apps/lc-compliance/{simple_capture.h => helpers/capture.h} (76%)\n rename src/apps/lc-compliance/{ => tests}/capture_test.cpp (95%)\n\n--\n2.41.0"}