Patrick Williams | 516e22f | 2025-02-01 08:37:12 -0500 | [diff] [blame] | 1 | test( |
| 2 | 'phosphor-power-sequencer-tests', |
| 3 | executable( |
| 4 | 'phosphor-power-sequencer-tests', |
| 5 | 'config_file_parser_error_tests.cpp', |
| 6 | 'config_file_parser_tests.cpp', |
| 7 | 'pmbus_driver_device_tests.cpp', |
| 8 | 'rail_tests.cpp', |
| 9 | 'standard_device_tests.cpp', |
| 10 | 'ucd90160_device_tests.cpp', |
| 11 | 'ucd90320_device_tests.cpp', |
| 12 | 'ucd90x_device_tests.cpp', |
| 13 | dependencies: [gmock, gtest, nlohmann_json_dep, phosphor_logging], |
| 14 | link_args: dynamic_linker, |
| 15 | build_rpath: get_option('oe-sdk').allowed() ? rpath : '', |
| 16 | link_with: [phosphor_power_sequencer_library, libpower], |
| 17 | implicit_include_directories: false, |
| 18 | include_directories: ['.', '../src', '../..'], |
| 19 | ), |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 20 | ) |