blob: 96d7d6b9d11e9cb0e16b7538b6ad04fb51121b78 [file] [log] [blame] [edit]
tests = [
'test_eid',
'test_seq',
'test_bridge',
'test_cmds',
'test_core',
]
if get_option('bindings').contains('serial')
tests += 'test_serial'
endif
if get_option('bindings').contains('astlpc')
tests += 'test_astlpc'
endif
if get_option('bindings').contains('i2c')
tests += 'test_i2c'
endif
test_include_dirs = [include_directories('.'), libmctp_include_dir]
foreach t : tests
test(
t,
executable(
t,
[t + '.c', 'test-utils.c'],
include_directories: test_include_dirs,
dependencies: [libmctp_dep],
),
)
endforeach