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', |
Ben Tyner | bcf65a8 | 2020-12-01 08:46:36 -0600 | [diff] [blame] | 7 | 'vital_handler.cpp' |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 8 | ] |
| 9 | |
| 10 | # Additional source files needed for test. |
| 11 | additional_src = [ |
| 12 | '../../cli.cpp', |
| 13 | ] |
| 14 | |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 15 | # create openpower-hw-diags executable for local testing |
Ben Tyner | b1ebfcb | 2020-05-08 18:52:48 -0500 | [diff] [blame] | 16 | end2end = executable('openpower-hw-diags-test', |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 17 | end2end_src, additional_src, |
Zane Shelley | c252894 | 2020-12-02 15:42:42 -0600 | [diff] [blame] | 18 | link_with : hwdiags_libs, |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 19 | include_directories : incdir, |
Zane Shelley | 0c44c2f | 2020-06-05 17:14:31 -0500 | [diff] [blame] | 20 | cpp_args : test_arg, |
Ben Tyner | 9ae5ca4 | 2020-02-28 13:13:50 -0600 | [diff] [blame] | 21 | install : false) |
Ben Tyner | b859d79 | 2020-05-06 21:29:47 -0500 | [diff] [blame] | 22 | |
Zane Shelley | 61465db | 2020-10-30 14:53:11 -0500 | [diff] [blame] | 23 | test('openpower-hw-diags-test', end2end) |