[libcamera-devel] [PATCH 08/11] test: Rename list test to list-cameras

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sun Jan 6 03:33:25 CET 2019


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 <laurent.pinchart at ideasonboard.com>
---
 test/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/meson.build b/test/meson.build
index 184a7eeb5e27..638e8d51c131 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.cpp'],
 ]
 
 internal_tests = [
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list