blob: d894a3fcb5dae9a0c86e5f3fa2104a2c7d79257b [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',
8 'internal/sdref',
9 'internal/utils',
10 'source/base',
11 'source/child',
12 'source/event',
13 'source/io',
14 'source/signal',
15 'source/time',
16 'utility/timer',
17]
18
19foreach t : tests
20 test(t, executable(t.underscorify(), t + '.cpp',
21 include_directories: includes,
22 implicit_include_directories: false,
23 link_with: sdeventplus,
24 dependencies: [gtest, gmock]))
25endforeach