blob: e4e2828c56afd3901fc9b3216966cc7c7dde5071 [file] [log] [blame]
Jonathan Doman366546c2023-07-24 12:33:16 -07001gtest = dependency('gtest', main: true)
2gmock = dependency('gmock')
3
4tests = [
Patrick Williams9d583912025-02-01 08:37:58 -05005 'handler_unittest',
6 'handler_open_unittest',
7 'handler_readwrite_unittest',
8 'handler_statclose_unittest',
Jonathan Doman366546c2023-07-24 12:33:16 -07009]
10
11foreach t : tests
Patrick Williams9d583912025-02-01 08:37:58 -050012 test(
13 t,
14 executable(
15 t.underscorify(),
16 t + '.cpp',
17 '../handler.cpp',
18 include_directories: ['../', root_inc],
19 dependencies: [smbiosstore_common_deps, gtest, gmock],
20 ),
21 protocol: 'gtest',
22 )
Jonathan Doman366546c2023-07-24 12:33:16 -070023endforeach