blob: fd48f744eb4687d36054201aae443fcc977b8eca [file] [log] [blame]
Matt Johnston6586fc12024-09-10 16:01:27 +08001
Patrick Williams5cc20932025-02-01 08:37:58 -05002tests = ['test_eid', 'test_seq', 'test_bridge', 'test_cmds', 'test_core']
Matt Johnston6586fc12024-09-10 16:01:27 +08003
4if get_option('bindings').contains('serial')
5 tests += 'test_serial'
6endif
7if get_option('bindings').contains('astlpc')
8 tests += 'test_astlpc'
9endif
Matt Johnstone5b941d2024-09-17 16:44:38 +080010if get_option('bindings').contains('i2c')
11 tests += 'test_i2c'
12endif
Matt Johnston6586fc12024-09-10 16:01:27 +080013
14test_include_dirs = [include_directories('.'), libmctp_include_dir]
15foreach t : tests
16 test(
17 t,
18 executable(
19 t,
20 [t + '.c', 'test-utils.c'],
21 include_directories: test_include_dirs,
22 dependencies: [libmctp_dep],
23 ),
24 )
25endforeach
Matt Johnston060c71e2025-01-08 14:35:13 +080026
27subdir('fuzz')