blob: c8fddf0904eb2c45cc565563781178f9d79ccb37 [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 III4ef36e72019-06-27 12:48:59 -07009 'util/string',
William A. Kennington III15982f62019-01-31 14:43:41 -080010]
11
12foreach t : tests
13 test(t, executable(t.underscorify(), t + '.cpp',
William A. Kennington III15982f62019-01-31 14:43:41 -080014 implicit_include_directories: false,
William A. Kennington III97e39472019-04-03 13:22:32 -070015 dependencies: [stdplus, gtest, gmock]))
William A. Kennington III15982f62019-01-31 14:43:41 -080016endforeach