1 2tests = ['test_eid', 'test_seq', 'test_bridge', 'test_cmds', 'test_core'] 3 4if get_option('bindings').contains('serial') 5 tests += 'test_serial' 6endif 7if get_option('bindings').contains('astlpc') 8 tests += 'test_astlpc' 9endif 10if get_option('bindings').contains('i2c') 11 tests += 'test_i2c' 12endif 13 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 26 27subdir('fuzz') 28