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: [ |
| 7 | gtest, |
| 8 | nlohmann_json_dep |
| 9 | ], |
| 10 | link_args: dynamic_linker, |
| 11 | build_rpath: get_option('oe-sdk').allowed() ? rpath : '', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 12 | link_with: [ |
| 13 | phosphor_power_sequencer_library, |
| 14 | libpower |
| 15 | ], |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 16 | implicit_include_directories: false, |
| 17 | include_directories: [ |
| 18 | '.', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 19 | '../src', |
| 20 | '../..' |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 21 | ] |
| 22 | ) |
| 23 | ) |