xref: /openbmc/estoraged/src/test/meson.build (revision 67a47446)
1gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
2gmock = dependency('gmock', disabler: true, required: build_tests)
3
4tests = [
5  'erase/verifyGeometry_test',
6  'erase/pattern_test',
7  'erase/zero_test',
8  'erase/crypto_test',
9  'erase/sanitize_test',
10  'estoraged_test',
11]
12
13test_eStoraged_headers = include_directories('include')
14
15foreach t : tests
16  test(t, executable(t.underscorify(), t + '.cpp',
17                     implicit_include_directories: false,
18                     dependencies: [
19                       gtest,
20                       gmock,
21                       libeStoraged,
22                     ],
23                     include_directories: [eStoraged_headers, test_eStoraged_headers]))
24endforeach
25