blob: 4f6b167f961cfd0399994afe1c7204f4632a863b [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: [
7 gtest,
8 nlohmann_json_dep
9 ],
10 link_args: dynamic_linker,
11 build_rpath: get_option('oe-sdk').allowed() ? rpath : '',
Shawn McCarney6a957f62024-01-10 16:15:19 -060012 link_with: [
13 phosphor_power_sequencer_library,
14 libpower
15 ],
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060016 implicit_include_directories: false,
17 include_directories: [
18 '.',
Shawn McCarney6a957f62024-01-10 16:15:19 -060019 '../src',
20 '../..'
Shawn McCarneyd6e9bfe2024-01-05 17:52:04 -060021 ]
22 )
23)