xref: /openbmc/libmctp/tests/meson.build (revision 6586fc10ffe1ed3239fbd8e1251e25ba080f29ec)
1
2tests = [
3    'test_eid',
4    'test_seq',
5    'test_bridge',
6    'test_cmds',
7    'test_core',
8    ]
9
10if get_option('bindings').contains('serial')
11    tests += 'test_serial'
12endif
13if get_option('bindings').contains('astlpc')
14    tests += 'test_astlpc'
15endif
16
17test_include_dirs = [include_directories('.'), libmctp_include_dir]
18foreach t : tests
19    test(
20        t,
21        executable(
22            t,
23            [t + '.c', 'test-utils.c'],
24            include_directories: test_include_dirs,
25            dependencies: [libmctp_dep],
26        ),
27    )
28endforeach
29