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