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 | b89395b | 2024-04-23 16:31:10 -0500 | [diff] [blame] | 6 | 'pmbus_driver_device_tests.cpp', |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 7 | 'rail_tests.cpp', |
Shawn McCarney | 472101c | 2024-04-17 16:31:09 -0500 | [diff] [blame] | 8 | 'standard_device_tests.cpp', |
Shawn McCarney | b545144 | 2024-05-03 10:31:21 -0500 | [diff] [blame^] | 9 | 'ucd90160_device_tests.cpp', |
Shawn McCarney | fec3833 | 2024-05-02 13:58:56 -0500 | [diff] [blame] | 10 | 'ucd90320_device_tests.cpp', |
Shawn McCarney | 71d7fe4 | 2024-05-02 16:06:10 -0500 | [diff] [blame] | 11 | 'ucd90x_device_tests.cpp', |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 12 | dependencies: [ |
Shawn McCarney | e4fef0f | 2024-04-05 17:56:09 -0500 | [diff] [blame] | 13 | gmock, |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 14 | gtest, |
Konstantin Aladyshev | 69d98ec | 2024-04-22 14:25:05 +0300 | [diff] [blame] | 15 | nlohmann_json_dep, |
| 16 | phosphor_logging |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 17 | ], |
| 18 | link_args: dynamic_linker, |
| 19 | build_rpath: get_option('oe-sdk').allowed() ? rpath : '', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 20 | link_with: [ |
| 21 | phosphor_power_sequencer_library, |
| 22 | libpower |
| 23 | ], |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 24 | implicit_include_directories: false, |
| 25 | include_directories: [ |
| 26 | '.', |
Shawn McCarney | 6a957f6 | 2024-01-10 16:15:19 -0600 | [diff] [blame] | 27 | '../src', |
| 28 | '../..' |
Shawn McCarney | d6e9bfe | 2024-01-05 17:52:04 -0600 | [diff] [blame] | 29 | ] |
| 30 | ) |
| 31 | ) |