1*6586fc10SMatt Johnston 2*6586fc10SMatt Johnstontests = [ 3*6586fc10SMatt Johnston 'test_eid', 4*6586fc10SMatt Johnston 'test_seq', 5*6586fc10SMatt Johnston 'test_bridge', 6*6586fc10SMatt Johnston 'test_cmds', 7*6586fc10SMatt Johnston 'test_core', 8*6586fc10SMatt Johnston ] 9*6586fc10SMatt Johnston 10*6586fc10SMatt Johnstonif get_option('bindings').contains('serial') 11*6586fc10SMatt Johnston tests += 'test_serial' 12*6586fc10SMatt Johnstonendif 13*6586fc10SMatt Johnstonif get_option('bindings').contains('astlpc') 14*6586fc10SMatt Johnston tests += 'test_astlpc' 15*6586fc10SMatt Johnstonendif 16*6586fc10SMatt Johnston 17*6586fc10SMatt Johnstontest_include_dirs = [include_directories('.'), libmctp_include_dir] 18*6586fc10SMatt Johnstonforeach t : tests 19*6586fc10SMatt Johnston test( 20*6586fc10SMatt Johnston t, 21*6586fc10SMatt Johnston executable( 22*6586fc10SMatt Johnston t, 23*6586fc10SMatt Johnston [t + '.c', 'test-utils.c'], 24*6586fc10SMatt Johnston include_directories: test_include_dirs, 25*6586fc10SMatt Johnston dependencies: [libmctp_dep], 26*6586fc10SMatt Johnston ), 27*6586fc10SMatt Johnston ) 28*6586fc10SMatt Johnstonendforeach 29