Patch Detail
Show a patch.
GET /api/1.1/patches/2775/?format=api
{ "id": 2775, "url": "https://patchwork.libcamera.org/api/1.1/patches/2775/?format=api", "web_url": "https://patchwork.libcamera.org/patch/2775/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20200205130420.8736-6-kieran.bingham@ideasonboard.com>", "date": "2020-02-05T13:04:20", "name": "[libcamera-devel,5/5] tests: Remove IPA_MODULE_PATH environment variable", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "a22016ab6923cf9bdefdec6371aa0fa21f16c04e", "submitter": { "id": 4, "url": "https://patchwork.libcamera.org/api/1.1/people/4/?format=api", "name": "Kieran Bingham", "email": "kieran.bingham@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/2775/mbox/", "series": [ { "id": 661, "url": "https://patchwork.libcamera.org/api/1.1/series/661/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=661", "date": "2020-02-05T13:04:15", "name": "Support loading IPAs from the build tree", "version": 1, "mbox": "https://patchwork.libcamera.org/series/661/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/2775/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/2775/checks/", "tags": {}, "headers": { "Return-Path": "<kieran.bingham@ideasonboard.com>", "Received": [ "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 286AB60912\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 5 Feb 2020 14:04:27 +0100 (CET)", "from localhost.localdomain\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id C408E52F;\n\tWed, 5 Feb 2020 14:04:26 +0100 (CET)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1580907866;\n\tbh=ykY3ha/bXqaN4XovXqcM2qgrqKpyC2pVKsKKe/340qM=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=hBLgY3an+Zc4n8LVbXBDVa0cb7CCUin9Z3QwprHeeFquD6Hlurjhh6oytfruW/AJ/\n\tFqJUgrwh7kNJPjwOCNVdMDa1VC+km9sudnKqhTCskv6wclLZc5seFhrjUnOKqEm60c\n\tD1e1oPsW/S22z1zmYkA9nUNOxMxInJPWltr34VXg=", "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>", "To": "LibCamera Devel <libcamera-devel@lists.libcamera.org>", "Date": "Wed, 5 Feb 2020 13:04:20 +0000", "Message-Id": "<20200205130420.8736-6-kieran.bingham@ideasonboard.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20200205130420.8736-1-kieran.bingham@ideasonboard.com>", "References": "<20200205130420.8736-1-kieran.bingham@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 5/5] tests: Remove IPA_MODULE_PATH\n\tenvironment variable", "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>", "X-List-Received-Date": "Wed, 05 Feb 2020 13:04:27 -0000" }, "content": "The tests declare a hard-coded LIBCAMERA_IPA_MODULE_PATH to allow tests\nto run from the test-suite.\n\nThis requires tests to be run only from the root of the build directory,\notherwise (for example, by running in their local directory) they will\nnot be able to correctly locate the IPA modules.\n\nNow that the build path for the IPA manager is provided through the\nRUNPATH, we can remove the redundant setting of the\nLIBCAMERA_IPA_MODULE_PATH for tests.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n test/libtest/test.cpp | 4 ----\n 1 file changed, 4 deletions(-)", "diff": "diff --git a/test/libtest/test.cpp b/test/libtest/test.cpp\nindex 333d2160e276..6cd3fbe6df06 100644\n--- a/test/libtest/test.cpp\n+++ b/test/libtest/test.cpp\n@@ -21,10 +21,6 @@ int Test::execute()\n {\n \tint ret;\n \n-\tret = setenv(\"LIBCAMERA_IPA_MODULE_PATH\", \"src/ipa\", 1);\n-\tif (ret)\n-\t\treturn errno;\n-\n \tret = setenv(\"LIBCAMERA_IPA_PROXY_PATH\", \"src/libcamera/proxy/worker\", 1);\n \tif (ret)\n \t\treturn errno;\n", "prefixes": [ "libcamera-devel", "5/5" ] }