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 | fe44e83 | 2024-04-18 16:03:49 -0500 | [diff] [blame] | 5 | 'format_utils_tests.cpp', |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 6 | 'rail_tests.cpp', |
| 7 | dependencies: [ |
Shawn McCarney | e4fef0f | 2024-04-05 17:56:09 -0500 | [diff] [blame] | 8 | gmock, |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 9 | gtest, |
Konstantin Aladyshev | 69d98ec | 2024-04-22 14:25:05 +0300 | [diff] [blame^] | 10 | nlohmann_json_dep, |
| 11 | phosphor_logging |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 12 | ], |
| 13 | link_args: dynamic_linker, |
| 14 | build_rpath: get_option('oe-sdk').allowed() ? rpath : '', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 15 | link_with: [ |
| 16 | phosphor_power_sequencer_library, |
| 17 | libpower |
| 18 | ], |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 19 | implicit_include_directories: false, |
| 20 | include_directories: [ |
| 21 | '.', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 22 | '../src', |
| 23 | '../..' |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 24 | ] |
| 25 | ) |
| 26 | ) |