blob: 9d1547bfa2c3a36aa1926b3d0d6b47e36c3a6de1 [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,
10 nlohmann_json_dep
11 ],
12 link_args: dynamic_linker,
13 build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
Shawn McCarney6a957f62024-01-10 16:15:19 -060014 link_with: [
15 phosphor_power_sequencer_library,
16 libpower
17 ],
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060018 implicit_include_directories: false,
19 include_directories: [
20 '.',
Shawn McCarney6a957f62024-01-10 16:15:19 -060021 '../src',
22 '../..'
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060023 ]
24 )
25)