blob: 1dc52ee44b6f28427c1de00e60002948da738026 [file] [log] [blame]
Kun Yi0d14a592020-04-06 14:01:36 -07001gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
2gmock = dependency('gmock', disabler: true, required: build_tests)
3phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
4sdbusplus = dependency('sdbusplus')
5
Patrick Williams13d9ae32025-02-01 08:37:05 -05006tests = ['post_reporter_test']
Kun Yi0d14a592020-04-06 14:01:36 -07007
8foreach t : tests
Patrick Williams13d9ae32025-02-01 08:37:05 -05009 test(
10 t,
11 executable(
12 t.underscorify(),
13 t + '.cpp',
14 include_directories: postd_headers,
15 implicit_include_directories: false,
16 dependencies: [gtest, gmock, phosphor_dbus_interfaces, sdbusplus],
17 ),
18 )
Kun Yi0d14a592020-04-06 14:01:36 -070019endforeach