blob: 29cdda49e080ed86038df7642a86ba1ab0027a81 [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 Edward Broadbent605085a2021-11-05 13:45:45 -07009 'erase/sanitize_test',
John Wedigb810c922021-11-17 16:38:03 -080010 'estoraged_test',
11]
12
John Edward Broadbent59dffa62022-01-13 17:41:32 -080013test_eStoraged_headers = include_directories('include')
14
John Wedigb810c922021-11-17 16:38:03 -080015foreach t : tests
16 test(t, executable(t.underscorify(), t + '.cpp',
17 implicit_include_directories: false,
18 dependencies: [
19 gtest,
20 gmock,
21 libeStoraged,
22 ],
John Edward Broadbent59dffa62022-01-13 17:41:32 -080023 include_directories: [eStoraged_headers, test_eStoraged_headers]))
John Wedigb810c922021-11-17 16:38:03 -080024endforeach