blob: 9a12d7bfb15973f898570a3aa46ef6dd863c9e5f [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',
Ben Tynerbcf65a82020-12-01 08:46:36 -06007 'vital_handler.cpp'
Zane Shelley61465db2020-10-30 14:53:11 -05008]
9
10# Additional source files needed for test.
11additional_src = [
12 '../../cli.cpp',
13]
14
Ben Tyner9ae5ca42020-02-28 13:13:50 -060015# create openpower-hw-diags executable for local testing
Ben Tynerb1ebfcb2020-05-08 18:52:48 -050016end2end = executable('openpower-hw-diags-test',
Zane Shelley61465db2020-10-30 14:53:11 -050017 end2end_src, additional_src,
Zane Shelleyc2528942020-12-02 15:42:42 -060018 link_with : hwdiags_libs,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060019 include_directories : incdir,
Zane Shelley0c44c2f2020-06-05 17:14:31 -050020 cpp_args : test_arg,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060021 install : false)
Ben Tynerb859d792020-05-06 21:29:47 -050022
Zane Shelley61465db2020-10-30 14:53:11 -050023test('openpower-hw-diags-test', end2end)