blob: d894a3fcb5dae9a0c86e5f3fa2104a2c7d79257b [file] [log] [blame]
gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
gmock = dependency('gmock', disabler: true, required: build_tests)
tests = [
'clock',
'event',
'exception',
'internal/sdref',
'internal/utils',
'source/base',
'source/child',
'source/event',
'source/io',
'source/signal',
'source/time',
'utility/timer',
]
foreach t : tests
test(t, executable(t.underscorify(), t + '.cpp',
include_directories: includes,
implicit_include_directories: false,
link_with: sdeventplus,
dependencies: [gtest, gmock]))
endforeach