blob: adb8eebd34dc16d9a28759fc9d83672c89d78471 [file] [log] [blame]
Zane Shelley61465db2020-10-30 14:53:11 -05001# Source files specific to end2end test.
2end2end_src = [
Zane Shelley61465db2020-10-30 14:53:11 -05003 'main.cpp',
Zane Shelley61465db2020-10-30 14:53:11 -05004]
5
6# Additional source files needed for test.
7additional_src = [
8 '../../cli.cpp',
9]
10
Ben Tyner9ae5ca42020-02-28 13:13:50 -060011# create openpower-hw-diags executable for local testing
Ben Tyner46b5e2b2022-02-16 13:11:23 -060012end2end = executable('test-openpower-hw-diags',
Zane Shelley61465db2020-10-30 14:53:11 -050013 end2end_src, additional_src,
Zane Shelleyc2528942020-12-02 15:42:42 -060014 link_with : hwdiags_libs,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060015 include_directories : incdir,
Zane Shelley0c44c2f2020-06-05 17:14:31 -050016 cpp_args : test_arg,
Ben Tyner9ae5ca42020-02-28 13:13:50 -060017 install : false)
Ben Tynerb859d792020-05-06 21:29:47 -050018
Ben Tyner46b5e2b2022-02-16 13:11:23 -060019test('test-openpower-hw-diags', end2end)