blob: 6bce45144c8684fa03acc7e4297976b06dfbd3e2 [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 McCarneyd6e9bfe2024-01-05 17:52:04 -06005 'rail_tests.cpp',
6 dependencies: [
Shawn McCarneye4fef0f2024-04-05 17:56:09 -05007 gmock,
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -06008 gtest,
9 nlohmann_json_dep
10 ],
11 link_args: dynamic_linker,
12 build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
Shawn McCarney6a957f62024-01-10 16:15:19 -060013 link_with: [
14 phosphor_power_sequencer_library,
15 libpower
16 ],
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060017 implicit_include_directories: false,
18 include_directories: [
19 '.',
Shawn McCarney6a957f62024-01-10 16:15:19 -060020 '../src',
21 '../..'
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060022 ]
23 )
24)