blob: feb65784f1f992d9aae91232414e8d60d6004bcd [file] [log] [blame]
George Liu4b062012020-10-13 15:26:58 +08001test_sources = [
2 '../manager.cpp',
3 '../serialize.cpp',
4 '../utils.cpp'
5]
6
7tests = [
8 'utest.cpp',
9 'utest-serialize.cpp',
10]
11
12if get_option('use-json').enabled()
13 tests += ['utest-led-json.cpp']
14endif
15
16foreach t : tests
17 test(t, executable(t.underscorify(), t,
18 test_sources,
19 include_directories: ['..'],
20 dependencies: [
21 gtest,
22 gmock,
23 deps
24 ]),
25 workdir: meson.current_source_dir())
26endforeach