16586fc10SMatt Johnston 26586fc10SMatt Johnstontests = [ 36586fc10SMatt Johnston 'test_eid', 46586fc10SMatt Johnston 'test_seq', 56586fc10SMatt Johnston 'test_bridge', 66586fc10SMatt Johnston 'test_cmds', 76586fc10SMatt Johnston 'test_core', 86586fc10SMatt Johnston ] 96586fc10SMatt Johnston 106586fc10SMatt Johnstonif get_option('bindings').contains('serial') 116586fc10SMatt Johnston tests += 'test_serial' 126586fc10SMatt Johnstonendif 136586fc10SMatt Johnstonif get_option('bindings').contains('astlpc') 146586fc10SMatt Johnston tests += 'test_astlpc' 156586fc10SMatt Johnstonendif 16*e5b941d9SMatt Johnstonif get_option('bindings').contains('i2c') 17*e5b941d9SMatt Johnston tests += 'test_i2c' 18*e5b941d9SMatt Johnstonendif 196586fc10SMatt Johnston 206586fc10SMatt Johnstontest_include_dirs = [include_directories('.'), libmctp_include_dir] 216586fc10SMatt Johnstonforeach t : tests 226586fc10SMatt Johnston test( 236586fc10SMatt Johnston t, 246586fc10SMatt Johnston executable( 256586fc10SMatt Johnston t, 266586fc10SMatt Johnston [t + '.c', 'test-utils.c'], 276586fc10SMatt Johnston include_directories: test_include_dirs, 286586fc10SMatt Johnston dependencies: [libmctp_dep], 296586fc10SMatt Johnston ), 306586fc10SMatt Johnston ) 316586fc10SMatt Johnstonendforeach 32