summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-05 02:51:52 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-01-08 16:23:16 +0200
commit03815afdc8dcc41c4462ca753a1d4fb869748a8e (patch)
tree24392a12d8be08c9efc0229e146d1cea80535332
parent8356f8a6ab875680087032285c3b7bbfbdbddba9 (diff)
test: Rename list test to list-cameras
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@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
-rw-r--r--test/list-cameras.cpp (renamed from test/list.cpp)0
-rw-r--r--test/meson.build2
2 files changed, 1 insertions, 1 deletions
diff --git a/test/list.cpp b/test/list-cameras.cpp
index e2026c99..e2026c99 100644
--- a/test/list.cpp
+++ b/test/list-cameras.cpp
diff --git a/test/meson.build b/test/meson.build
index 184a7eeb..30350d22 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 = [