blob: 4e61fe28c0bc0b0e9de8b5c3a66130d1b6fdca89 [file] [log] [blame]
Zane Shelley0c44c2f2020-06-05 17:14:31 -05001test_arg = [
2 '-DTEST_TRACE',
3]
4
Ben Tyner9ae5ca42020-02-28 13:13:50 -06005# end2end code exerciser for experiment and testing
6subdir('end2end')
7
Zane Shelley248cbf82019-05-03 17:07:18 -05008tests = [
Zane Shelleyd26298b2021-01-28 16:49:19 -06009 'bin_stream_test',
Zane Shelley982f1722021-03-25 10:56:37 -050010 'ffdc_file_test',
Zane Shelley0b8368c2021-03-18 17:33:41 -050011 'resolution_test',
Zane Shelleyf685afd2021-02-15 15:39:44 -060012 'service_data_test',
Zane Shelley248cbf82019-05-03 17:07:18 -050013]
14
Zane Shelley9faf73b2020-12-01 19:51:35 -060015gtest = dependency('gtest', main : true, required : false, method : 'system')
16
17if gtest.found()
18 foreach t : tests
Zane Shelley8af9e462021-03-11 10:44:28 -060019 test(t, executable(t.underscorify(), t + '.cpp',
Zane Shelley982f1722021-03-25 10:56:37 -050020 link_with : [ util_lib ],
Zane Shelley8af9e462021-03-11 10:44:28 -060021 dependencies : [ libhei_dep, gtest ],
22 cpp_args : test_arg,
23 include_directories : incdir))
Zane Shelley9faf73b2020-12-01 19:51:35 -060024 endforeach
Zane Shelley9faf73b2020-12-01 19:51:35 -060025endif