blob: db90ffdccb6a7e98eee1b1b564c39800ccd4d6e5 [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',
7 dependencies: [
Shawn McCarneye4fef0f2024-04-05 17:56:09 -05008 gmock,
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -06009 gtest,
Konstantin Aladyshev69d98ec2024-04-22 14:25:05 +030010 nlohmann_json_dep,
11 phosphor_logging
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060012 ],
13 link_args: dynamic_linker,
14 build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
Shawn McCarney6a957f62024-01-10 16:15:19 -060015 link_with: [
16 phosphor_power_sequencer_library,
17 libpower
18 ],
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060019 implicit_include_directories: false,
20 include_directories: [
21 '.',
Shawn McCarney6a957f62024-01-10 16:15:19 -060022 '../src',
23 '../..'
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060024 ]
25 )
26)