summaryrefslogtreecommitdiff
path: root/test/meson.build
blob: aabe79ddc442da60b559ff20d831708f71d54a03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
subdir('libtest')

test_libraries = [libcamera, libtest]

test_includes_public = [
    libtest_includes,
    libcamera_includes,
]

test_includes_internal = [
    test_includes_public,
    libcamera_internal_includes,
]

test_init = executable('test_init', 'init.cpp',
                       link_with : test_libraries,
                       include_directories : test_includes_public)

list = executable('list', 'list.cpp',
                  link_with : test_libraries,
                  include_directories : test_includes_public)

subdir('media_device')

test('Initialisation test', test_init)
test('List Camera API tests', list)
test('Media Device Test', media_device_test)