summaryrefslogtreecommitdiff
path: root/test/meson.build
blob: 6233d2c00692432a11e41dd6db9b396e9d97c5b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
libtest_sources = files([
    'test.cpp',
])

libtest = static_library('libtest', libtest_sources)
libtest_includes = include_directories('./')

test_init = executable('test_init', 'init.cpp',
                       link_with : libcamera,
                       include_directories : libcamera_includes)

list = executable('list', 'list.cpp',
                    link_with : [libcamera, libtest],
                    include_directories : libcamera_includes)

subdir('media_device')

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