From patchwork Mon Jan 7 23:11:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 171 Return-Path: Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 8A1C260B3A for ; Tue, 8 Jan 2019 00:10:50 +0100 (CET) Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DDC82E4E for ; Tue, 8 Jan 2019 00:10:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1546902650; bh=q/MK6T7+X50nZAAvplPMZSHn42sNXzDv4+8ni+PC0l8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=B3Zi9E5YdFPj2X+3YrN0R0PcVAcousV7Obkzsp3bdvvy6nqZa24gQpzMTAx6PZ0yG rnyYPkIL8YEfr0RYaut6y2C+Pf1aAGmEkyW6O4KRskXx1fsQx/OTOQjoapatZLXaJR tXQ8bAsjy3+vQZ1jsJrjAs/lEzLJVlxmKN8LO9zM= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Tue, 8 Jan 2019 01:11:48 +0200 Message-Id: <20190107231151.23291-9-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190107231151.23291-1-laurent.pinchart@ideasonboard.com> References: <20190107231151.23291-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 08/11] test: Rename list test to list-cameras 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, 07 Jan 2019 23:10:50 -0000 The list test generates a list binary in the test directory, which conflicts with the C++ std::list header of the same name. The binary gets included instead of the header file, breaking compilation. Rename the test to avoid this. Signed-off-by: Laurent Pinchart Reviewed-by: Niklas Söderlund --- Changes since v1: - Rename list.cpp to list-cameras.cpp --- test/{list.cpp => list-cameras.cpp} | 0 test/meson.build | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename test/{list.cpp => list-cameras.cpp} (100%) diff --git a/test/list.cpp b/test/list-cameras.cpp similarity index 100% rename from test/list.cpp rename to test/list-cameras.cpp diff --git a/test/meson.build b/test/meson.build index 184a7eeb5e27..30350d2219a1 100644 --- a/test/meson.build +++ b/test/meson.build @@ -3,7 +3,7 @@ subdir('libtest') subdir('media_device') public_tests = [ - ['list', 'list.cpp'], + ['list-cameras', 'list-cameras.cpp'], ] internal_tests = [