1test_arg = [ 2 '-DTEST_TRACE', 3] 4 5# end2end code exerciser for experiment and testing 6subdir('end2end') 7 8tests = [ 9 'hello-world', 10 'bin_stream_test', 11 'resolution_test', 12 'service_data_test', 13] 14 15gtest = dependency('gtest', main : true, required : false, method : 'system') 16 17if gtest.found() 18 foreach t : tests 19 test(t, executable(t.underscorify(), t + '.cpp', 20 dependencies : [ libhei_dep, gtest ], 21 cpp_args : test_arg, 22 include_directories : incdir)) 23 endforeach 24 25 test('ffdc_file_test', 26 executable('ffdc_file_test', 'ffdc_file_test.cpp', 27 files('../util/ffdc_file.cpp', 28 '../util/temporary_file.cpp'), 29 dependencies : gtest, 30 cpp_args : test_arg, 31 include_directories : incdir)) 32endif 33