blob: 5b6451e69ee5a277f6f8b1732711a65659bf3f1b [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,
Zane Shelleyf80482a2020-12-02 15:13:13 -060018 util_lib,
Zane Shelley61465db2020-10-30 14:53:11 -050019]
20
Ben Tyner9ae5ca42020-02-28 13:13:50 -060021# create openpower-hw-diags executable for local testing
Ben Tynerb1ebfcb2020-05-08 18:52:48 -050022end2end = executable('openpower-hw-diags-test',
Zane Shelley61465db2020-10-30 14:53:11 -050023 end2end_src, additional_src,
24 link_with : end2end_libs,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060025 include_directories : incdir,
Zane Shelley0c44c2f2020-06-05 17:14:31 -050026 cpp_args : test_arg,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060027 install : false)
Ben Tynerb859d792020-05-06 21:29:47 -050028
Zane Shelley61465db2020-10-30 14:53:11 -050029test('openpower-hw-diags-test', end2end)