{"id":1325,"url":"https://patchwork.libcamera.org/api/patches/1325/?format=json","web_url":"https://patchwork.libcamera.org/patch/1325/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20190527223540.21855-8-paul.elder@ideasonboard.com>","date":"2019-05-27T22:35:39","name":"[libcamera-devel,7/8] libcamera: test: remove test IPA and use dummy IPA instead","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"ae3b724fab52af1008df4bf7f95b78b140e11bb8","submitter":{"id":17,"url":"https://patchwork.libcamera.org/api/people/17/?format=json","name":"Paul Elder","email":"paul.elder@ideasonboard.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/1325/mbox/","series":[{"id":330,"url":"https://patchwork.libcamera.org/api/series/330/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=330","date":"2019-05-27T22:35:32","name":"Add IPAManager and IPAInterface","version":1,"mbox":"https://patchwork.libcamera.org/series/330/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/1325/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/1325/checks/","tags":{},"headers":{"Return-Path":"<paul.elder@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 A06DA6190A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 28 May 2019 00:35:52 +0200 (CEST)","from localhost.localdomain (unknown [96.44.9.117])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 135141517;\n\tTue, 28 May 2019 00:35:51 +0200 (CEST)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1558996552;\n\tbh=wC+DJMMUWp1y91p2TiR0UieguOeFfqEjMH0pscavpM4=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=N1bImudFKYmWryUziSetSkJH5+EkXnBrY8J8MF6jFUVGVEC/2ANia5hd00g5YG20V\n\tkronQuNc5JyZSMdLVbvx9/sgCKTUOk5beBJ7NhRPGmdxsCIpaACDcqxeRMNSokKauV\n\tbQYhFkLzPxGuoaARKZX/oDaA5kLzHjt0WdhpJDS4=","From":"Paul Elder <paul.elder@ideasonboard.com>","To":"libcamera-devel@lists.libcamera.org","Date":"Mon, 27 May 2019 18:35:39 -0400","Message-Id":"<20190527223540.21855-8-paul.elder@ideasonboard.com>","X-Mailer":"git-send-email 2.20.1","In-Reply-To":"<20190527223540.21855-1-paul.elder@ideasonboard.com>","References":"<20190527223540.21855-1-paul.elder@ideasonboard.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH 7/8] libcamera: test: remove test IPA and\n\tuse dummy IPA instead","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":"Mon, 27 May 2019 22:35:52 -0000"},"content":"Use the dummy IPA for testing/sample IPA instead of the earlier test\nIPA. Remove the test IPA, and update tests and meson accordingly.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\n---\n test/ipa/ipa_test.cpp |  8 ++++----\n test/ipa/meson.build  | 10 ----------\n 2 files changed, 4 insertions(+), 14 deletions(-)","diff":"diff --git a/test/ipa/ipa_test.cpp b/test/ipa/ipa_test.cpp\nindex f50880e..53e3a6e 100644\n--- a/test/ipa/ipa_test.cpp\n+++ b/test/ipa/ipa_test.cpp\n@@ -82,12 +82,12 @@ protected:\n \n \t\tconst struct IPAModuleInfo testInfo = {\n \t\t\t1,\n-\t\t\t0, 9001,\n-\t\t\t\"bleep\",\n-\t\t\t\"It's over nine thousand!\",\n+\t\t\t0, 1,\n+\t\t\t\"PipelineHandlerVimc\",\n+\t\t\t\"Dummy IPA for Vimc\",\n \t\t};\n \n-\t\tcount += runTest(\"test/ipa/ipa-dummy-cpp.so\", testInfo);\n+\t\tcount += runTest(\"src/ipa/ipa_dummy.so\", testInfo);\n \n \t\tif (count < 0)\n \t\t\treturn TestFail;\ndiff --git a/test/ipa/meson.build b/test/ipa/meson.build\nindex 08ee95c..bca39fa 100644\n--- a/test/ipa/meson.build\n+++ b/test/ipa/meson.build\n@@ -1,13 +1,3 @@\n-ipa_modules_sources = [\n-    ['ipa-dummy-cpp', 'shared_test.cpp'],\n-]\n-\n-foreach m : ipa_modules_sources\n-    shared_library(m, name_prefix : '',\n-                   dependencies : libcamera_dep,\n-                   include_directories : test_includes_public)\n-endforeach\n-\n ipa_test = [\n     ['ipa_test', 'ipa_test.cpp'],\n ]\n","prefixes":["libcamera-devel","7/8"]}