blob: 7508ae48c767a2fa7536cabbd16618e9b866a5d0 [file] [log] [blame]
Zane Shelley61465db2020-10-30 14:53:11 -05001# Source files specific to end2end test.
2end2end_src = [
3 'bp_handler.cpp',
4 'logging.cpp',
5 'main.cpp',
6 'ti_handler.cpp',
7]
8
9# Additional source files needed for test.
10additional_src = [
11 '../../cli.cpp',
12]
13
14# Link with the analyzer and attention handler static libraries.
15end2end_libs = [
16 analyzer,
17 attn,
18]
19
Ben Tyner9ae5ca42020-02-28 13:13:50 -060020# create openpower-hw-diags executable for local testing
Ben Tynerb1ebfcb2020-05-08 18:52:48 -050021end2end = executable('openpower-hw-diags-test',
Zane Shelley61465db2020-10-30 14:53:11 -050022 end2end_src, additional_src,
23 link_with : end2end_libs,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060024 include_directories : incdir,
Zane Shelley0c44c2f2020-06-05 17:14:31 -050025 cpp_args : test_arg,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060026 install : false)
Ben Tynerb859d792020-05-06 21:29:47 -050027
Zane Shelley61465db2020-10-30 14:53:11 -050028test('openpower-hw-diags-test', end2end)