blob: 21d1529db9f5907f912bb3f46c31d13610327fdc [file] [log] [blame]
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -06001test('phosphor-power-sequencer-tests',
2 executable('phosphor-power-sequencer-tests',
Shawn McCarney6a957f62024-01-10 16:15:19 -06003 'config_file_parser_error_tests.cpp',
4 'config_file_parser_tests.cpp',
Shawn McCarneyfe44e832024-04-18 16:03:49 -05005 'format_utils_tests.cpp',
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -06006 'rail_tests.cpp',
Shawn McCarney472101c2024-04-17 16:31:09 -05007 'standard_device_tests.cpp',
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -06008 dependencies: [
Shawn McCarneye4fef0f2024-04-05 17:56:09 -05009 gmock,
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060010 gtest,
Konstantin Aladyshev69d98ec2024-04-22 14:25:05 +030011 nlohmann_json_dep,
12 phosphor_logging
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060013 ],
14 link_args: dynamic_linker,
15 build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
Shawn McCarney6a957f62024-01-10 16:15:19 -060016 link_with: [
17 phosphor_power_sequencer_library,
18 libpower
19 ],
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060020 implicit_include_directories: false,
21 include_directories: [
22 '.',
Shawn McCarney6a957f62024-01-10 16:15:19 -060023 '../src',
24 '../..'
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060025 ]
26 )
27)