blob: 39bafc189ca70f30814aec7998ed6d330fe028a1 [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 McCarneyb5451442024-05-03 10:31:21 -05009 'ucd90160_device_tests.cpp',
Shawn McCarneyfec38332024-05-02 13:58:56 -050010 'ucd90320_device_tests.cpp',
Shawn McCarney71d7fe42024-05-02 16:06:10 -050011 'ucd90x_device_tests.cpp',
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060012 dependencies: [
Shawn McCarneye4fef0f2024-04-05 17:56:09 -050013 gmock,
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060014 gtest,
Konstantin Aladyshev69d98ec2024-04-22 14:25:05 +030015 nlohmann_json_dep,
16 phosphor_logging
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060017 ],
18 link_args: dynamic_linker,
19 build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
Shawn McCarney6a957f62024-01-10 16:15:19 -060020 link_with: [
21 phosphor_power_sequencer_library,
22 libpower
23 ],
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060024 implicit_include_directories: false,
25 include_directories: [
26 '.',
Shawn McCarney6a957f62024-01-10 16:15:19 -060027 '../src',
28 '../..'
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060029 ]
30 )
31)