Patch Detail
Show a patch.
GET /api/patches/213/?format=api
{ "id": 213, "url": "https://patchwork.libcamera.org/api/patches/213/?format=api", "web_url": "https://patchwork.libcamera.org/patch/213/", "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": "<20190112141436.1562-2-jacopo@jmondi.org>", "date": "2019-01-12T14:14:34", "name": "[libcamera-devel,v3,1/3] test: media_device: Convert to foreach", "commit_ref": "4bf28fa225f6ef36e51e0dd12de8432b98137c51", "pull_url": null, "state": "accepted", "archived": false, "hash": "73f6591108889f829cd0ce7986b0296769e2eac1", "submitter": { "id": 3, "url": "https://patchwork.libcamera.org/api/people/3/?format=api", "name": "Jacopo Mondi", "email": "jacopo@jmondi.org" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/213/mbox/", "series": [ { "id": 73, "url": "https://patchwork.libcamera.org/api/series/73/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=73", "date": "2019-01-12T14:14:33", "name": "test: media_device: Add link handling test", "version": 3, "mbox": "https://patchwork.libcamera.org/series/73/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/213/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/213/checks/", "tags": {}, "headers": { "Return-Path": "<jacopo@jmondi.org>", "Received": [ "from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net\n\t[217.70.183.194])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7581F60C69\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 12 Jan 2019 15:14:35 +0100 (CET)", "from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay2-d.mail.gandi.net (Postfix) with ESMTPSA id CB68140004;\n\tSat, 12 Jan 2019 14:14:34 +0000 (UTC)" ], "X-Originating-IP": "2.224.242.101", "From": "Jacopo Mondi <jacopo@jmondi.org>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Sat, 12 Jan 2019 15:14:34 +0100", "Message-Id": "<20190112141436.1562-2-jacopo@jmondi.org>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20190112141436.1562-1-jacopo@jmondi.org>", "References": "<20190112141436.1562-1-jacopo@jmondi.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v3 1/3] test: media_device: Convert to\n\tforeach", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.23", "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>", "X-List-Received-Date": "Sat, 12 Jan 2019 14:14:35 -0000" }, "content": "From: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\nPrevent duplication of boilerplate code as the suite grows by\nestablishing the foreach pattern in the media_device test suite.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n test/media_device/meson.build | 14 ++++++++++----\n 1 file changed, 10 insertions(+), 4 deletions(-)", "diff": "diff --git a/test/media_device/meson.build b/test/media_device/meson.build\nindex a7ebed1..40f9ffa 100644\n--- a/test/media_device/meson.build\n+++ b/test/media_device/meson.build\n@@ -1,5 +1,11 @@\n-media_device_test = executable('media_device_test', 'media_device_test.cpp',\n- link_with : test_libraries,\n- include_directories : test_includes_internal)\n+media_device_tests = [\n+ ['media_device_test', 'media_device_test.cpp'],\n+]\n \n-test('Media Device Test', media_device_test)\n+foreach t : media_device_tests\n+ exe = executable(t[0], t[1],\n+ link_with : test_libraries,\n+ include_directories : test_includes_internal)\n+\n+ test(t[0], exe, suite: 'media_device', is_parallel: false)\n+endforeach\n", "prefixes": [ "libcamera-devel", "v3", "1/3" ] }