blob: 1dc52ee44b6f28427c1de00e60002948da738026 [file] [log] [blame]
gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
gmock = dependency('gmock', disabler: true, required: build_tests)
phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
sdbusplus = dependency('sdbusplus')
tests = ['post_reporter_test']
foreach t : tests
test(
t,
executable(
t.underscorify(),
t + '.cpp',
include_directories: postd_headers,
implicit_include_directories: false,
dependencies: [gtest, gmock, phosphor_dbus_interfaces, sdbusplus],
),
)
endforeach