Brandon Wyman | 3f1242f | 2020-01-28 13:11:25 -0600 | [diff] [blame] | 1 | test('phosphor-power-supply-tests', |
| 2 | executable('phosphor-power-supply-tests', |
| 3 | 'power_supply_tests.cpp', |
Brandon Wyman | c332442 | 2022-03-24 20:30:57 +0000 | [diff] [blame^] | 4 | '../record_manager.cpp', |
Brandon Wyman | 3f1242f | 2020-01-28 13:11:25 -0600 | [diff] [blame] | 5 | 'mock.cpp', |
| 6 | dependencies: [ |
| 7 | gmock, |
| 8 | gtest, |
| 9 | sdbusplus, |
| 10 | sdeventplus, |
| 11 | phosphor_logging, |
| 12 | ], |
| 13 | implicit_include_directories: false, |
| 14 | include_directories: [ |
| 15 | '.', |
| 16 | '..', |
| 17 | '../..' |
| 18 | ], |
| 19 | link_args: dynamic_linker, |
Brandon Wyman | 1d7a7df | 2020-03-26 10:14:05 -0500 | [diff] [blame] | 20 | link_with: [ |
| 21 | libpower, |
| 22 | ], |
Brandon Wyman | 3f1242f | 2020-01-28 13:11:25 -0600 | [diff] [blame] | 23 | build_rpath: get_option('oe-sdk').enabled() ? rpath : '', |
| 24 | objects: power_supply, |
| 25 | ) |
| 26 | ) |