blob: 13809f19ace24c26fc8a1227941bf2eadbd98e9d [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
6tests = [
7 'post_reporter_test',
8]
9
10foreach t : tests
11 test(t, executable(t.underscorify(), t + '.cpp',
12 include_directories: postd_headers,
13 implicit_include_directories: false,
14 dependencies: [
15 gtest,
16 gmock,
17 phosphor_dbus_interfaces,
18 sdbusplus,
19 ]))
20endforeach