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