Patch Detail
Show a patch.
GET /api/patches/13841/?format=api
{ "id": 13841, "url": "https://patchwork.libcamera.org/api/patches/13841/?format=api", "web_url": "https://patchwork.libcamera.org/patch/13841/", "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": "<20210914021819.10375-1-laurent.pinchart@ideasonboard.com>", "date": "2021-09-14T02:18:19", "name": "[libcamera-devel] test: v4l2_compat: Report test as skipped if no compatible driver found", "commit_ref": "556e2de509cf561c5584d77e731f776c5b357737", "pull_url": null, "state": "accepted", "archived": false, "hash": "aaddfcfe26a32ff6bd28bdf566873c57ca5c4fe2", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/13841/mbox/", "series": [ { "id": 2525, "url": "https://patchwork.libcamera.org/api/series/2525/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2525", "date": "2021-09-14T02:18:19", "name": "[libcamera-devel] test: v4l2_compat: Report test as skipped if no compatible driver found", "version": 1, "mbox": "https://patchwork.libcamera.org/series/2525/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/13841/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/13841/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 78168BDC71\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 14 Sep 2021 02:18:55 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C6C6D69187;\n\tTue, 14 Sep 2021 04:18:54 +0200 (CEST)", "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 376E26916F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Sep 2021 04:18:53 +0200 (CEST)", "from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id AE0722A5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Sep 2021 04:18:52 +0200 (CEST)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"EKV8PLth\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1631585932;\n\tbh=pTkLY8xEgJ+v6r1FFrAgH59YKEgUIabEHfryWyItows=;\n\th=From:To:Subject:Date:From;\n\tb=EKV8PLthhu1mMxA5O2CShpZlMlU/u/8nhKv7N85+6AJVvr1PeYsuUBEJWgg8xwOwa\n\tXEOtgs8kSv32qKTjko/csqlmrAxnEqIoNg+sqGIxjIQKAejQ7z58wMRVPSNow3bKi0\n\tiEA0C+zGSSMDe2nOftc7Vr8MqUcsl3cz4HytBr7s=", "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Tue, 14 Sep 2021 05:18:19 +0300", "Message-Id": "<20210914021819.10375-1-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.32.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH] test: v4l2_compat: Report test as skipped\n\tif no compatible driver found", "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 V4L2 compatibility layer test includes a list of supported devices,\nas V4L2 compatibility isn't officially supported with all devices yet.\nIf no supported device is present, the test reports success, while it\nactually hasn't run. Report it being skipped in that case.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n test/v4l2_compat/v4l2_compat_test.py | 4 ++++\n 1 file changed, 4 insertions(+)", "diff": "diff --git a/test/v4l2_compat/v4l2_compat_test.py b/test/v4l2_compat/v4l2_compat_test.py\nindex ae892ced6127..be16af3bc5e6 100755\n--- a/test/v4l2_compat/v4l2_compat_test.py\n+++ b/test/v4l2_compat/v4l2_compat_test.py\n@@ -147,6 +147,10 @@ def main(argv):\n print('success')\n drivers_tested[driver] = True\n \n+ if len(drivers_tested) == 0:\n+ print(f'No compatible drivers found')\n+ return TestSkip\n+\n if len(failed) > 0:\n print(f'Failed {len(failed)} tests:')\n for device in failed:\n", "prefixes": [ "libcamera-devel" ] }