| Alexander Hansen | 2cd25e6 | 2025-10-23 12:35:39 +0200 | [diff] [blame^] | 1 | timer_tests = [ |
| 2 | 'timer_callback_done', | ||||
| 3 | 'timer_callback_not_done', | ||||
| 4 | 'timer_expire', | ||||
| 5 | 'timer_not_expire', | ||||
| 6 | 'timer_update_expire', | ||||
| 7 | 'timer_update_not_expire', | ||||
| 8 | ] | ||||
| 9 | |||||
| 10 | foreach t : timer_tests | ||||
| 11 | test( | ||||
| 12 | 'test_' + t.underscorify(), | ||||
| 13 | executable( | ||||
| 14 | 'test-' + t.underscorify(), | ||||
| 15 | t + '.cpp', | ||||
| 16 | dependencies: [gtest_dep, gmock_dep, sdbusplus_dep], | ||||
| 17 | ), | ||||
| 18 | ) | ||||
| 19 | endforeach | ||||