blob: 21a4bb2dc164b24e04e7b1c8dd42ef35c8df4929 [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 McCarneyfec38332024-05-02 13:58:56 -05009 'ucd90320_device_tests.cpp',
Shawn McCarney71d7fe42024-05-02 16:06:10 -050010 'ucd90x_device_tests.cpp',
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060011 dependencies: [
Shawn McCarneye4fef0f2024-04-05 17:56:09 -050012 gmock,
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060013 gtest,
Konstantin Aladyshev69d98ec2024-04-22 14:25:05 +030014 nlohmann_json_dep,
15 phosphor_logging
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060016 ],
17 link_args: dynamic_linker,
18 build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
Shawn McCarney6a957f62024-01-10 16:15:19 -060019 link_with: [
20 phosphor_power_sequencer_library,
21 libpower
22 ],
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060023 implicit_include_directories: false,
24 include_directories: [
25 '.',
Shawn McCarney6a957f62024-01-10 16:15:19 -060026 '../src',
27 '../..'
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060028 ]
29 )
30)