Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 1 | test('phosphor-power-sequencer-tests', |
| 2 | executable('phosphor-power-sequencer-tests', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 3 | 'config_file_parser_error_tests.cpp', |
| 4 | 'config_file_parser_tests.cpp', |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 5 | 'rail_tests.cpp', |
| 6 | dependencies: [ |
Shawn McCarney | e4fef0f | 2024-04-05 17:56:09 -0500 | [diff] [blame^] | 7 | gmock, |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 8 | gtest, |
| 9 | nlohmann_json_dep |
| 10 | ], |
| 11 | link_args: dynamic_linker, |
| 12 | build_rpath: get_option('oe-sdk').allowed() ? rpath : '', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 13 | link_with: [ |
| 14 | phosphor_power_sequencer_library, |
| 15 | libpower |
| 16 | ], |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 17 | implicit_include_directories: false, |
| 18 | include_directories: [ |
| 19 | '.', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 20 | '../src', |
| 21 | '../..' |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 22 | ] |
| 23 | ) |
| 24 | ) |