Brad Bishop | 39b370a | 2019-09-02 02:37:32 -0400 | [diff] [blame] | 1 | test( |
Shawn McCarney | 5f51444 | 2024-01-04 14:03:24 -0600 | [diff] [blame] | 2 | 'common-code-tests', |
Brad Bishop | 39b370a | 2019-09-02 02:37:32 -0400 | [diff] [blame] | 3 | executable( |
Shawn McCarney | 5f51444 | 2024-01-04 14:03:24 -0600 | [diff] [blame] | 4 | 'common-code-tests', |
| 5 | 'file_descriptor_tests.cpp', |
| 6 | 'nvtest.cpp', |
| 7 | 'temporary_file_tests.cpp', |
Shawn McCarney | de5434d | 2024-05-22 14:07:44 -0500 | [diff] [blame] | 8 | 'temporary_subdirectory_tests.cpp', |
Brad Bishop | 39b370a | 2019-09-02 02:37:32 -0400 | [diff] [blame] | 9 | dependencies: [ |
| 10 | gmock, |
| 11 | gtest, |
| 12 | ], |
Brandon Wyman | dc8e931 | 2020-02-14 17:04:18 -0600 | [diff] [blame] | 13 | link_args: dynamic_linker, |
Patrick Williams | 5c6a693 | 2023-11-29 06:44:29 -0600 | [diff] [blame] | 14 | build_rpath: get_option('oe-sdk').allowed() ? rpath : '', |
Shawn McCarney | 5f51444 | 2024-01-04 14:03:24 -0600 | [diff] [blame] | 15 | link_with: [ |
| 16 | libpower |
Shawn McCarney | 9462e06 | 2020-09-15 14:39:17 -0500 | [diff] [blame] | 17 | ], |
Shawn McCarney | 9462e06 | 2020-09-15 14:39:17 -0500 | [diff] [blame] | 18 | implicit_include_directories: false, |
| 19 | include_directories: '..', |
| 20 | ) |
| 21 | ) |