Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 1 | # Source files specific to end2end test. |
| 2 | end2end_src = [ |
| 3 | 'bp_handler.cpp', |
| 4 | 'logging.cpp', |
| 5 | 'main.cpp', |
| 6 | 'ti_handler.cpp', |
| 7 | ] |
| 8 | |
| 9 | # Additional source files needed for test. |
| 10 | additional_src = [ |
| 11 | '../../cli.cpp', |
| 12 | ] |
| 13 | |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 14 | # create openpower-hw-diags executable for local testing |
Ben Tyner | b1ebfcb | 2020-05-08 18:52:48 -0500 | [diff] [blame] | 15 | end2end = executable('openpower-hw-diags-test', |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 16 | end2end_src, additional_src, |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 17 | link_with : hwdiags_libs, |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 18 | include_directories : incdir, |
Zane Shelley | 0c44c2f | 2020-06-05 17:14:31 -0500 | [diff] [blame] | 19 | cpp_args : test_arg, |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 20 | install : false) |
Ben Tyner | b859d79 | 2020-05-06 21:29:47 -0500 | [diff] [blame] | 21 | |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 22 | test('openpower-hw-diags-test', end2end) |