Brad Bishop | 0aa1590 | 2019-05-08 21:30:01 -0400 | [diff] [blame^] | 1 | processing_cpp_dep = declare_dependency(sources: '../processing.cpp') |
| 2 | associations_cpp_dep = declare_dependency(sources: '../associations.cpp') |
| 3 | |
| 4 | tests = [ |
| 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 | |
| 12 | foreach 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()) |
| 20 | endforeach |