Patrick Williams | 516e22f | 2025-02-01 08:37:12 -0500 | [diff] [blame] | 1 | test( |
| 2 | 'phosphor-power-supply-tests', |
| 3 | executable( |
| 4 | 'phosphor-power-supply-tests', |
| 5 | 'power_supply_tests.cpp', |
| 6 | 'mock.cpp', |
| 7 | dependencies: [ |
| 8 | gmock, |
| 9 | gtest, |
| 10 | libgpiodcxx, |
| 11 | nlohmann_json_dep, |
| 12 | phosphor_logging, |
| 13 | sdbusplus, |
| 14 | sdeventplus, |
| 15 | ], |
| 16 | implicit_include_directories: false, |
| 17 | include_directories: ['.', '..', '../..'], |
| 18 | link_args: dynamic_linker, |
| 19 | link_with: [libpower], |
| 20 | build_rpath: get_option('oe-sdk').allowed() ? rpath : '', |
| 21 | objects: power_supply, |
| 22 | ), |
Brandon Wyman | 3f1242f | 2020-01-28 13:11:25 -0600 | [diff] [blame] | 23 | ) |