blob: 3b8f167c250d1f4e726b38eecaab793d5a102fef [file] [log] [blame]
William A. Kennington IIId4b33e92018-12-04 17:22:05 -08001gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
2gmock = dependency('gmock', disabler: true, required: build_tests)
3
4tests = [
5 'clock',
6 'event',
7 'exception',
William A. Kennington IIId4b33e92018-12-04 17:22:05 -08008 'internal/utils',
9 'source/base',
10 'source/child',
11 'source/event',
12 'source/io',
13 'source/signal',
14 'source/time',
15 'utility/timer',
16]
17
18foreach t : tests
19 test(t, executable(t.underscorify(), t + '.cpp',
William A. Kennington IIId4b33e92018-12-04 17:22:05 -080020 implicit_include_directories: false,
William A. Kennington III8ec59e62019-04-03 13:38:17 -070021 dependencies: [sdeventplus, gtest, gmock]))
William A. Kennington IIId4b33e92018-12-04 17:22:05 -080022endforeach