1b810c926SJohn Wediggtest = dependency('gtest', main: true, disabler: true, required: build_tests) 2b810c926SJohn Wediggmock = dependency('gmock', disabler: true, required: build_tests) 3b810c926SJohn Wedig 4b810c926SJohn Wedigtests = [ 5e6ffe704SJohn Edward Broadbent 'erase/verifyGeometry_test', 67f2ab643SJohn Edward Broadbent 'erase/pattern_test', 74bc8a10cSJohn Edward Broadbent 'erase/zero_test', 859dffa63SJohn Edward Broadbent 'erase/crypto_test', 9605085a6SJohn Edward Broadbent 'erase/sanitize_test', 10b810c926SJohn Wedig 'estoraged_test', 11*5d799bb9SJohn Edward Broadbent 'util_test', 12b810c926SJohn Wedig] 13b810c926SJohn Wedig 1459dffa63SJohn Edward Broadbenttest_eStoraged_headers = include_directories('include') 1559dffa63SJohn Edward Broadbent 16b810c926SJohn Wedigforeach t : tests 17b810c926SJohn Wedig test(t, executable(t.underscorify(), t + '.cpp', 18b810c926SJohn Wedig implicit_include_directories: false, 19b810c926SJohn Wedig dependencies: [ 20b810c926SJohn Wedig gtest, 21b810c926SJohn Wedig gmock, 22b810c926SJohn Wedig libeStoraged, 23b810c926SJohn Wedig ], 2459dffa63SJohn Edward Broadbent include_directories: [eStoraged_headers, test_eStoraged_headers])) 25b810c926SJohn Wedigendforeach 26