blob: 183ed8879b3ea60f7713260af5c30bb338f2627a [file] [log] [blame]
Brad Bishop0aa15902019-05-08 21:30:01 -04001processing_cpp_dep = declare_dependency(sources: '../processing.cpp')
2associations_cpp_dep = declare_dependency(sources: '../associations.cpp')
3
4tests = [
5 [ 'well_known', [ associations_cpp_dep, processing_cpp_dep ]],
6 [ 'need_to_introspect', [ associations_cpp_dep, processing_cpp_dep ]],
7 [ 'associations', [ associations_cpp_dep ]],
8 [ 'name_change', [ associations_cpp_dep, processing_cpp_dep ]],
9 [ 'interfaces_added', [ associations_cpp_dep, processing_cpp_dep ]],
10]
11
12foreach t : tests
13 name = t[0]
14 extra_deps = t[1]
15 test(name, executable(name.underscorify(), name + '.cpp',
16 implicit_include_directories: false,
17 dependencies: [gtest, gmock, sdbusplus, extra_deps],
18 include_directories: ['../..']),
19 workdir: meson.current_source_dir())
20endforeach