Lei YU | 093b591 | 2019-10-22 15:28:51 +0800 | [diff] [blame] | 1 | test( |
| 2 | 'test_version', |
| 3 | executable( |
| 4 | 'test_version', |
| 5 | 'test_version.cpp', |
| 6 | '../version.cpp', |
| 7 | dependencies: [ |
| 8 | gtest, |
| 9 | phosphor_logging, |
| 10 | ], |
| 11 | implicit_include_directories: false, |
| 12 | include_directories: '../../..', |
| 13 | link_with: [ |
| 14 | libpower, |
| 15 | ], |
| 16 | objects: record_manager, |
| 17 | ) |
| 18 | ) |
Lei YU | 9ab6d75 | 2019-10-28 17:03:20 +0800 | [diff] [blame] | 19 | |
| 20 | test( |
| 21 | 'test_updater', |
| 22 | executable( |
| 23 | 'test_updater', |
| 24 | 'test_updater.cpp', |
| 25 | '../updater.cpp', |
| 26 | dependencies: [ |
| 27 | gtest, |
| 28 | phosphor_logging, |
| 29 | ], |
| 30 | implicit_include_directories: false, |
| 31 | include_directories: '../../..', |
| 32 | link_with: [ |
| 33 | libpower, |
| 34 | ], |
| 35 | objects: record_manager, |
| 36 | ) |
| 37 | ) |