blob: b5639bc9b2b2ff0b2edfde885d16dead9f05666c [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
Ben Tyner9ae5ca42020-02-28 13:13:50 -060014# create openpower-hw-diags executable for local testing
Ben Tynerb1ebfcb2020-05-08 18:52:48 -050015end2end = executable('openpower-hw-diags-test',
Zane Shelley61465db2020-10-30 14:53:11 -050016 end2end_src, additional_src,
Zane Shelleyc2528942020-12-02 15:42:42 -060017 link_with : hwdiags_libs,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060018 include_directories : incdir,
Zane Shelley0c44c2f2020-06-05 17:14:31 -050019 cpp_args : test_arg,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060020 install : false)
Ben Tynerb859d792020-05-06 21:29:47 -050021
Zane Shelley61465db2020-10-30 14:53:11 -050022test('openpower-hw-diags-test', end2end)