1tests = [ 2 [ 'mapper', [ declare_dependency(sources: [ '../mapper.c', 'utils.c' ]) ]], 3] 4 5foreach t : tests 6 name = t[0] 7 extra_deps = t[1] 8 test(name, executable(name.underscorify(), name + '.cpp', 9 implicit_include_directories: false, 10 dependencies: [gtest, gmock, sdbusplus, extra_deps], 11 include_directories: ['../..']), 12 workdir: meson.current_source_dir()) 13endforeach 14