blob: 2a15f0a2b7995f77314e96196ae13c7ac77273fb [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 McCarneyb89395b2024-04-23 16:31:10 -05006 'pmbus_driver_device_tests.cpp',
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -06007 'rail_tests.cpp',
Shawn McCarney472101c2024-04-17 16:31:09 -05008 'standard_device_tests.cpp',
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -06009 dependencies: [
Shawn McCarneye4fef0f2024-04-05 17:56:09 -050010 gmock,
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060011 gtest,
Konstantin Aladyshev69d98ec2024-04-22 14:25:05 +030012 nlohmann_json_dep,
13 phosphor_logging
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060014 ],
15 link_args: dynamic_linker,
16 build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
Shawn McCarney6a957f62024-01-10 16:15:19 -060017 link_with: [
18 phosphor_power_sequencer_library,
19 libpower
20 ],
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060021 implicit_include_directories: false,
22 include_directories: [
23 '.',
Shawn McCarney6a957f62024-01-10 16:15:19 -060024 '../src',
25 '../..'
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060026 ]
27 )
28)