blob: ea40e4cbd064908f13c50631fa45b1622eca20e4 [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 Shelley248cbf82019-05-03 17:07:18 -050012]
13
Zane Shelley9faf73b2020-12-01 19:51:35 -060014gtest = dependency('gtest', main : true, required : false, method : 'system')
15
16if gtest.found()
17 foreach t : tests
Zane Shelley8af9e462021-03-11 10:44:28 -060018 test(t, executable(t.underscorify(), t + '.cpp',
Zane Shelley982f1722021-03-25 10:56:37 -050019 link_with : [ util_lib ],
Zane Shelley8af9e462021-03-11 10:44:28 -060020 dependencies : [ libhei_dep, gtest ],
21 cpp_args : test_arg,
22 include_directories : incdir))
Zane Shelley9faf73b2020-12-01 19:51:35 -060023 endforeach
Zane Shelley9faf73b2020-12-01 19:51:35 -060024endif