blob: bcd016ef9f026f919b6be319aa96875e2570c171 [file] [log] [blame]
William A. Kennington III15982f62019-01-31 14:43:41 -08001gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
2gmock = dependency('gmock', disabler: true, required: build_tests)
3
4tests = [
5 'signal',
William A. Kennington IIIe847ef82018-11-02 17:29:15 -07006 'handle/copyable',
William A. Kennington III7a5e2322018-11-02 17:28:35 -07007 'handle/managed',
William A. Kennington IIIbff0b0f2018-11-16 19:56:10 -08008 'util/cexec',
William A. Kennington III15982f62019-01-31 14:43:41 -08009]
10
11foreach t : tests
12 test(t, executable(t.underscorify(), t + '.cpp',
William A. Kennington III15982f62019-01-31 14:43:41 -080013 implicit_include_directories: false,
William A. Kennington III97e39472019-04-03 13:22:32 -070014 dependencies: [stdplus, gtest, gmock]))
William A. Kennington III15982f62019-01-31 14:43:41 -080015endforeach