blob: b684d24b599c065aef276cb4c062f623157423f6 [file] [log] [blame]
John Wedigb810c922021-11-17 16:38:03 -08001gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
2gmock = dependency('gmock', disabler: true, required: build_tests)
3
4tests = [
John Edward Broadbente6ffe702021-10-14 14:03:11 -07005 'erase/verifyGeometry_test',
John Edward Broadbent7f2ab642021-11-11 21:00:38 -08006 'erase/pattern_test',
John Edward Broadbent4bc8a102021-12-30 16:11:49 -08007 'erase/zero_test',
John Edward Broadbent59dffa62022-01-13 17:41:32 -08008 'erase/crypto_test',
John Wedigb810c922021-11-17 16:38:03 -08009 'estoraged_test',
10]
11
John Edward Broadbent59dffa62022-01-13 17:41:32 -080012test_eStoraged_headers = include_directories('include')
13
John Wedigb810c922021-11-17 16:38:03 -080014foreach t : tests
15 test(t, executable(t.underscorify(), t + '.cpp',
16 implicit_include_directories: false,
17 dependencies: [
18 gtest,
19 gmock,
20 libeStoraged,
21 ],
John Edward Broadbent59dffa62022-01-13 17:41:32 -080022 include_directories: [eStoraged_headers, test_eStoraged_headers]))
John Wedigb810c922021-11-17 16:38:03 -080023endforeach