From patchwork Tue Jul 16 07:05:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Elder X-Patchwork-Id: 1710 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E0A6C61AC4 for ; Tue, 16 Jul 2019 09:05:24 +0200 (CEST) Received: from emerald.amanokami.net (unknown [IPv6:2a00:79e1:abc:3602:b57a:2dda:be67:ac6e]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 91E6F564; Tue, 16 Jul 2019 09:05:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1563260724; bh=sJiOclYpNmyTcwbor8cfXt0467JFUMamxaau7g2iDCM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RvU49q9RsCWrNss/lEUfEB5i7Bdck0iNSnSSOztYVJzdqZ03b75L4tixvHmSnaTBO xW4W6p39x1QLtYRJNHRx+0xLyyxLSKSTq5hOGJDss/cuwXCcwEqey5RFy9z/2UM4G8 Sd0WsxE8yXRQjhpM9PaJlgPorzcxeR8jRpJBYXAI= From: Paul Elder To: libcamera-devel@lists.libcamera.org Date: Tue, 16 Jul 2019 16:05:08 +0900 Message-Id: <20190716070508.24589-4-paul.elder@ideasonboard.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190716070508.24589-1-paul.elder@ideasonboard.com> References: <20190716070508.24589-1-paul.elder@ideasonboard.com> Subject: [libcamera-devel] [PATCH v2 4/4] test: logging: move logging tests to a subdirectory 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: Tue, 16 Jul 2019 07:05:25 -0000 Since there are two logging tests now, move them to their own subdirectory. Update meson as necessary. Signed-off-by: Paul Elder Reviewed-by: Laurent Pinchart --- No changes in v2 test/{log.cpp => log/log_api.cpp} | 0 test/{ => log}/log_process.cpp | 0 test/log/meson.build | 13 +++++++++++++ test/meson.build | 3 +-- 4 files changed, 14 insertions(+), 2 deletions(-) rename test/{log.cpp => log/log_api.cpp} (100%) rename test/{ => log}/log_process.cpp (100%) create mode 100644 test/log/meson.build diff --git a/test/log.cpp b/test/log/log_api.cpp similarity index 100% rename from test/log.cpp rename to test/log/log_api.cpp diff --git a/test/log_process.cpp b/test/log/log_process.cpp similarity index 100% rename from test/log_process.cpp rename to test/log/log_process.cpp diff --git a/test/log/meson.build b/test/log/meson.build new file mode 100644 index 0000000..95f6c1a --- /dev/null +++ b/test/log/meson.build @@ -0,0 +1,13 @@ +log_test = [ + ['log_api', 'log_api.cpp'], + ['log_process', 'log_process.cpp'], +] + +foreach t : log_test + exe = executable(t[0], t[1], + dependencies : libcamera_dep, + link_with : test_libraries, + include_directories : test_includes_internal) + + test(t[0], exe, suite : 'log') +endforeach diff --git a/test/meson.build b/test/meson.build index 658f283..b2f809e 100644 --- a/test/meson.build +++ b/test/meson.build @@ -4,6 +4,7 @@ subdir('camera') subdir('controls') subdir('ipa') subdir('ipc') +subdir('log') subdir('media_device') subdir('pipeline') subdir('process') @@ -22,8 +23,6 @@ public_tests = [ internal_tests = [ ['camera-sensor', 'camera-sensor.cpp'], - ['log', 'log.cpp'], - ['log_process', 'log_process.cpp'], ['message', 'message.cpp'], ['signal-threads', 'signal-threads.cpp'], ['threads', 'threads.cpp'],