From patchwork Mon May 27 22:35:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 1325 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A06DA6190A for ; Tue, 28 May 2019 00:35:52 +0200 (CEST) Received: from localhost.localdomain (unknown [96.44.9.117]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 135141517; Tue, 28 May 2019 00:35:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1558996552; bh=wC+DJMMUWp1y91p2TiR0UieguOeFfqEjMH0pscavpM4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N1bImudFKYmWryUziSetSkJH5+EkXnBrY8J8MF6jFUVGVEC/2ANia5hd00g5YG20V kronQuNc5JyZSMdLVbvx9/sgCKTUOk5beBJ7NhRPGmdxsCIpaACDcqxeRMNSokKauV bQYhFkLzPxGuoaARKZX/oDaA5kLzHjt0WdhpJDS4= From: Paul Elder 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 Subject: [libcamera-devel] [PATCH 7/8] libcamera: test: remove test IPA and use dummy IPA instead X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2019 22:35:52 -0000 Use the dummy IPA for testing/sample IPA instead of the earlier test IPA. Remove the test IPA, and update tests and meson accordingly. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- test/ipa/ipa_test.cpp | 8 ++++---- test/ipa/meson.build | 10 ---------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/test/ipa/ipa_test.cpp b/test/ipa/ipa_test.cpp index f50880e..53e3a6e 100644 --- a/test/ipa/ipa_test.cpp +++ b/test/ipa/ipa_test.cpp @@ -82,12 +82,12 @@ protected: const struct IPAModuleInfo testInfo = { 1, - 0, 9001, - "bleep", - "It's over nine thousand!", + 0, 1, + "PipelineHandlerVimc", + "Dummy IPA for Vimc", }; - count += runTest("test/ipa/ipa-dummy-cpp.so", testInfo); + count += runTest("src/ipa/ipa_dummy.so", testInfo); if (count < 0) return TestFail; diff --git a/test/ipa/meson.build b/test/ipa/meson.build index 08ee95c..bca39fa 100644 --- a/test/ipa/meson.build +++ b/test/ipa/meson.build @@ -1,13 +1,3 @@ -ipa_modules_sources = [ - ['ipa-dummy-cpp', 'shared_test.cpp'], -] - -foreach m : ipa_modules_sources - shared_library(m, name_prefix : '', - dependencies : libcamera_dep, - include_directories : test_includes_public) -endforeach - ipa_test = [ ['ipa_test', 'ipa_test.cpp'], ]