blob: cc3d12d2b4d0f96cd78e77fbf269752e4aec4502 [file] [log] [blame]
gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
gmock = dependency('gmock', disabler: true, required: build_tests)
tests = [
'signal',
'handle/copyable',
'handle/managed',
]
foreach t : tests
test(t, executable(t.underscorify(), t + '.cpp',
include_directories: includes,
implicit_include_directories: false,
link_with: stdplus,
dependencies: [gtest, gmock]))
endforeach