blob: 8fa22a7b0d6f9dfcd7c6f4bde5c85ac170524807 [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',
20 include_directories: includes,
21 implicit_include_directories: false,
22 link_with: sdeventplus,
23 dependencies: [gtest, gmock]))
24endforeach