Willy Tu | bcae900 | 2021-09-12 13:58:04 -0700 | [diff] [blame] | 1 | tool_tests = [ |
2 | 'tools_bt', | ||||
3 | 'tools_lpc', | ||||
4 | 'tools_pci', | ||||
5 | 'tools_net', | ||||
6 | 'tools_updater', | ||||
7 | 'tools_helper', | ||||
8 | 'io', | ||||
9 | ] | ||||
10 | |||||
11 | foreach t : tool_tests | ||||
12 | test( | ||||
13 | t, | ||||
14 | executable( | ||||
15 | t.underscorify(), t + '_unittest.cpp', | ||||
16 | build_by_default: false, | ||||
17 | implicit_include_directories: false, | ||||
18 | include_directories: [root_inc, tools_inc], | ||||
19 | dependencies: [updater_dep, gtest, gmock])) | ||||
20 | endforeach |