Mike Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame] | 1 | |
| 2 | test_include_directories = include_directories( |
| 3 | '..' |
| 4 | ) |
| 5 | |
| 6 | test_deps=[ |
Mike Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame] | 7 | gmock_dep, |
| 8 | gtest_dep, |
Patrick Williams | ef17a25 | 2023-12-07 14:53:06 -0600 | [diff] [blame] | 9 | nlohmann_json_dep, |
Mike Capps | a081956 | 2022-06-13 10:17:10 -0400 | [diff] [blame] | 10 | phosphor_dbus_interfaces_dep, |
| 11 | phosphor_logging_dep, |
| 12 | sdbusplus_dep |
| 13 | ] |
| 14 | |
| 15 | test( |
| 16 | 'logger_test', |
| 17 | executable( |
| 18 | 'logger_test', |
| 19 | 'logger_test.cpp', |
| 20 | dependencies:test_deps, |
| 21 | implicit_include_directories: false, |
| 22 | include_directories: [test_include_directories] |
| 23 | ) |
| 24 | ) |