1processing_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: [boost, gtest, gmock, sdbusplus, extra_deps], 18 include_directories: ['../..']), 19 workdir: meson.current_source_dir()) 20endforeach 21