Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | |
| 3 | project('phosphor-debug-collector', |
| 4 | 'cpp', |
Patrick Williams | deed959 | 2023-07-12 11:15:33 -0500 | [diff] [blame] | 5 | meson_version: '>=1.1.1', |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 6 | default_options: [ |
Patrick Williams | deed959 | 2023-07-12 11:15:33 -0500 | [diff] [blame] | 7 | 'cpp_std=c++23', |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 8 | 'warning_level=3', |
PriyangaRamasamy | 01c6646 | 2021-02-23 05:46:25 -0600 | [diff] [blame] | 9 | 'werror=true', |
| 10 | 'buildtype=debugoptimized' |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 11 | ], |
| 12 | version: '1.0', |
| 13 | license: 'Apache-2.0' |
| 14 | ) |
| 15 | |
Patrick Williams | abbe159 | 2021-10-01 16:04:19 -0500 | [diff] [blame] | 16 | cpp = meson.get_compiler('cpp') |
| 17 | |
Dhruvaraj Subhashchandran | 9f55736 | 2021-05-12 06:28:20 -0500 | [diff] [blame] | 18 | # list of unit files, the path as input and service name |
| 19 | # as output |
| 20 | # eg: unit_file += {'input:'<path>, 'output':<service name>} |
| 21 | unit_files = [] |
| 22 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 23 | # Checking dependency external library |
| 24 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 25 | libsystemd = dependency('libsystemd', version : '>=221') |
George Liu | 73e0bab | 2021-06-29 15:57:43 +0800 | [diff] [blame] | 26 | |
Patrick Williams | 02634e5 | 2022-03-21 11:16:11 -0500 | [diff] [blame] | 27 | sdbusplus_dep = dependency('sdbusplus') |
| 28 | sdbusplusplus_prog = find_program('sdbus++') |
| 29 | sdbuspp_gen_meson_prog = find_program('sdbus++-gen-meson') |
Marri Devender Rao | 3ed02c3 | 2022-06-28 23:12:14 -0500 | [diff] [blame] | 30 | sdeventplus_dep = dependency('sdeventplus') |
Patrick Williams | 02634e5 | 2022-03-21 11:16:11 -0500 | [diff] [blame] | 31 | |
| 32 | phosphor_dbus_interfaces_dep = dependency('phosphor-dbus-interfaces') |
| 33 | phosphor_logging_dep = dependency('phosphor-logging') |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 34 | |
Patrick Williams | abbe159 | 2021-10-01 16:04:19 -0500 | [diff] [blame] | 35 | # Get Cereal dependency. |
| 36 | cereal_dep = dependency('cereal', required: false) |
| 37 | has_cereal = cpp.has_header_symbol( |
| 38 | 'cereal/cereal.hpp', |
| 39 | 'cereal::specialize', |
| 40 | dependencies: cereal_dep, |
| 41 | required: false) |
| 42 | if not has_cereal |
| 43 | cereal_opts = import('cmake').subproject_options() |
Konstantin Aladyshev | 71a20da | 2024-04-02 17:42:46 +0300 | [diff] [blame^] | 44 | cereal_opts.add_cmake_defines({'BUILD_TESTS': 'OFF', 'SKIP_PERFORMANCE_COMPARISON': 'ON'}) |
Patrick Williams | abbe159 | 2021-10-01 16:04:19 -0500 | [diff] [blame] | 45 | cereal_proj = import('cmake').subproject( |
| 46 | 'cereal', |
| 47 | options: cereal_opts, |
| 48 | required: false) |
| 49 | assert(cereal_proj.found(), 'cereal is required') |
| 50 | cereal_dep = cereal_proj.dependency('cereal') |
| 51 | endif |
| 52 | |
PriyangaRamasamy | 01c6646 | 2021-02-23 05:46:25 -0600 | [diff] [blame] | 53 | # Disable FORTIFY_SOURCE when compiling with no optimization |
| 54 | if(get_option('optimization') == '0') |
| 55 | add_project_arguments('-U_FORTIFY_SOURCE',language:['cpp','c']) |
| 56 | message('Disabling FORTIFY_SOURCE as optimization is set to 0') |
| 57 | endif |
| 58 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 59 | # Configuration header file(config.h) generation |
| 60 | |
| 61 | conf_data = configuration_data() |
| 62 | |
| 63 | conf_data.set_quoted('DUMP_BUSNAME', get_option('DUMP_BUSNAME'), |
| 64 | description : 'The Dbus busname to own' |
| 65 | ) |
| 66 | conf_data.set_quoted('DUMP_OBJPATH', get_option('DUMP_OBJPATH'), |
| 67 | description : 'The Dump manager Dbus root' |
| 68 | ) |
Dhruvaraj Subhashchandran | fef66a9 | 2020-09-06 13:10:59 -0500 | [diff] [blame] | 69 | conf_data.set_quoted('BMC_DUMP_OBJPATH', get_option('BMC_DUMP_OBJPATH'), |
| 70 | description : 'The BMC Dump manager Dbus path' |
| 71 | ) |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 72 | conf_data.set_quoted('CORE_FILE_DIR', get_option('CORE_FILE_DIR'), |
| 73 | description : 'Directory where core dumps are placed' |
| 74 | ) |
Dhruvaraj Subhashchandran | fef66a9 | 2020-09-06 13:10:59 -0500 | [diff] [blame] | 75 | conf_data.set_quoted('BMC_DUMP_OBJ_ENTRY', get_option('BMC_DUMP_OBJ_ENTRY'), |
| 76 | description : 'The BMC dump entry DBus object path' |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 77 | ) |
| 78 | conf_data.set_quoted('BMC_DUMP_PATH', get_option('BMC_DUMP_PATH'), |
| 79 | description : 'Directory where bmc dumps are placed') |
George Liu | ff92ffe | 2021-02-09 15:01:53 +0800 | [diff] [blame] | 80 | conf_data.set_quoted('SYSTEMD_PSTORE_PATH', get_option('SYSTEMD_PSTORE_PATH'), |
| 81 | description : 'Path to the systemd pstore directory') |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 82 | conf_data.set('BMC_DUMP_MAX_SIZE', get_option('BMC_DUMP_MAX_SIZE'), |
| 83 | description : 'Maximum size of one bmc dump in kilo bytes' |
| 84 | ) |
| 85 | conf_data.set('BMC_DUMP_MIN_SPACE_REQD', get_option('BMC_DUMP_MIN_SPACE_REQD'), |
| 86 | description : 'Minimum space required for one bmc dump in kilo bytes' |
| 87 | ) |
| 88 | conf_data.set('BMC_DUMP_TOTAL_SIZE', get_option('BMC_DUMP_TOTAL_SIZE'), |
| 89 | description : 'Total size of the dump in kilo bytes' |
| 90 | ) |
| 91 | conf_data.set_quoted('OBJ_LOGGING', '/xyz/openbmc_project/logging', |
| 92 | description : 'The log manager DBus object path' |
| 93 | ) |
| 94 | conf_data.set_quoted('ELOG_ID_PERSIST_PATH', get_option('ELOG_ID_PERSIST_PATH'), |
| 95 | description : 'Path of file for storing elog id\'s, which have associated dumps' |
| 96 | ) |
| 97 | conf_data.set('CLASS_VERSION', get_option('CLASS_VERSION'), |
| 98 | description : 'Class version to register with Cereal' |
| 99 | ) |
| 100 | conf_data.set('ERROR_MAP_YAML', get_option('ERROR_MAP_YAML'), |
| 101 | description : 'YAML filepath containing error object paths' |
| 102 | ) |
Patrick Williams | 7cd0528 | 2023-11-29 06:44:29 -0600 | [diff] [blame] | 103 | conf_data.set('JFFS_CORE_FILE_WORKAROUND', get_option('jffs-workaround').allowed(), |
Chirag Sharma | e22aca7 | 2021-01-18 09:55:29 -0600 | [diff] [blame] | 104 | description : 'Turn on jffs workaround for core file' |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 105 | ) |
Claire Weinan | 919f71c | 2022-03-01 19:02:07 -0800 | [diff] [blame] | 106 | conf_data.set_quoted('FAULTLOG_DUMP_OBJ_ENTRY', get_option('FAULTLOG_DUMP_OBJ_ENTRY'), |
| 107 | description : 'The Fault Log dump entry DBus object path' |
| 108 | ) |
| 109 | conf_data.set_quoted('FAULTLOG_DUMP_OBJPATH', get_option('FAULTLOG_DUMP_OBJPATH'), |
| 110 | description : 'The Fault Log Dump manager Dbus path' |
| 111 | ) |
| 112 | conf_data.set_quoted('FAULTLOG_DUMP_PATH', get_option('FAULTLOG_DUMP_PATH'), |
| 113 | description : 'Directory where fault logs are placed' |
| 114 | ) |
Patrick Williams | 7cd0528 | 2023-11-29 06:44:29 -0600 | [diff] [blame] | 115 | conf_data.set('BMC_DUMP_ROTATE_CONFIG', get_option('dump_rotate_config').allowed(), |
Xie Ning | fc69f35 | 2022-05-17 16:06:52 +0800 | [diff] [blame] | 116 | description : 'Turn on rotate config for bmc dump' |
| 117 | ) |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 118 | |
| 119 | configure_file(configuration : conf_data, |
| 120 | output : 'config.h' |
| 121 | ) |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 122 | |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 123 | dump_types_yaml_files = [] |
| 124 | |
| 125 | # Dump types YAML file |
| 126 | dump_types_yaml_files += {'input': 'example_dump_types.yaml', |
| 127 | 'output': 'dump_types.yaml'} |
| 128 | |
| 129 | # Copy and combine YAML files |
| 130 | concatenate_command = 'cat ' |
| 131 | combined_yaml_file = 'combined_dump_types.yaml' |
| 132 | |
| 133 | foreach yaml_file : dump_types_yaml_files |
| 134 | configure_file(input : yaml_file.get('input'), |
| 135 | output : yaml_file.get('output'), |
| 136 | copy : true) |
| 137 | concatenate_command += meson.build_root() + '/' + yaml_file.get('output') + ' ' |
| 138 | endforeach |
| 139 | |
| 140 | concatenate_command += '> ' + meson.build_root() + '/' + combined_yaml_file |
| 141 | run_command('sh', '-c', concatenate_command) |
| 142 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 143 | python = find_program('python3') |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 144 | map_gen_file_loc = meson.project_source_root() |
| 145 | map_gen_file_loc += '/map_gen.py' |
| 146 | |
| 147 | dump_types_hpp = custom_target( |
| 148 | 'dump_types.hpp', |
| 149 | command : [ |
| 150 | python, |
| 151 | map_gen_file_loc, |
| 152 | '-i', |
| 153 | meson.build_root() + '/' + combined_yaml_file, |
Dhruvaraj Subhashchandran | aa0937f | 2023-07-22 23:50:40 -0500 | [diff] [blame] | 154 | '-j', |
| 155 | get_option('ERROR_MAP_YAML'), |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 156 | '-t', |
| 157 | 'dump_types.mako.hpp', |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 158 | '-o', |
| 159 | 'dump_types.hpp' |
| 160 | ], |
| 161 | depend_files : [ 'dump_types.mako.hpp', |
| 162 | 'map_gen.py', |
Dhruvaraj Subhashchandran | aa0937f | 2023-07-22 23:50:40 -0500 | [diff] [blame] | 163 | meson.build_root() + '/' + combined_yaml_file, |
| 164 | get_option('ERROR_MAP_YAML') |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 165 | ], |
| 166 | output : 'dump_types.hpp' |
| 167 | ) |
| 168 | |
| 169 | dump_types_cpp = custom_target( |
| 170 | 'dump_types.cpp', |
| 171 | command : [ |
| 172 | python, |
| 173 | map_gen_file_loc, |
| 174 | '-i', |
| 175 | meson.build_root() + '/' + combined_yaml_file, |
Dhruvaraj Subhashchandran | aa0937f | 2023-07-22 23:50:40 -0500 | [diff] [blame] | 176 | '-j', |
| 177 | get_option('ERROR_MAP_YAML'), |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 178 | '-t', |
| 179 | 'dump_types.mako.cpp', |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 180 | '-o', |
| 181 | 'dump_types.cpp' |
| 182 | ], |
| 183 | depend_files : [ 'dump_types.mako.cpp', |
| 184 | 'map_gen.py', |
Dhruvaraj Subhashchandran | aa0937f | 2023-07-22 23:50:40 -0500 | [diff] [blame] | 185 | meson.build_root() + '/' + combined_yaml_file, |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 186 | get_option('ERROR_MAP_YAML') |
| 187 | ], |
Dhruvaraj Subhashchandran | aa0937f | 2023-07-22 23:50:40 -0500 | [diff] [blame] | 188 | output : 'dump_types.cpp' |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 189 | ) |
| 190 | |
| 191 | phosphor_dump_manager_sources = [ |
| 192 | 'dump_entry.cpp', |
| 193 | 'dump_manager.cpp', |
Dhruvaraj Subhashchandran | fef66a9 | 2020-09-06 13:10:59 -0500 | [diff] [blame] | 194 | 'dump_manager_bmc.cpp', |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 195 | 'dump_manager_main.cpp', |
| 196 | 'dump_serialize.cpp', |
| 197 | 'elog_watch.cpp', |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 198 | dump_types_hpp, |
| 199 | dump_types_cpp, |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 200 | 'watch.cpp', |
| 201 | 'bmc_dump_entry.cpp', |
| 202 | 'dump_utils.cpp', |
Claire Weinan | 919f71c | 2022-03-01 19:02:07 -0800 | [diff] [blame] | 203 | 'dump_offload.cpp', |
| 204 | 'dump_manager_faultlog.cpp', |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 205 | 'faultlog_dump_entry.cpp' |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 206 | ] |
| 207 | |
| 208 | phosphor_dump_manager_dependency = [ |
George Liu | 73e0bab | 2021-06-29 15:57:43 +0800 | [diff] [blame] | 209 | phosphor_dbus_interfaces_dep, |
| 210 | sdbusplus_dep, |
Marri Devender Rao | 3ed02c3 | 2022-06-28 23:12:14 -0500 | [diff] [blame] | 211 | sdeventplus_dep, |
George Liu | 73e0bab | 2021-06-29 15:57:43 +0800 | [diff] [blame] | 212 | phosphor_logging_dep, |
Patrick Williams | abbe159 | 2021-10-01 16:04:19 -0500 | [diff] [blame] | 213 | cereal_dep, |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 214 | ] |
| 215 | |
| 216 | phosphor_dump_manager_install = true |
| 217 | |
Ramesh Iyyar | 3af5c32 | 2020-12-04 00:38:42 -0600 | [diff] [blame] | 218 | phosphor_dump_manager_incdir = [] |
| 219 | |
Ramesh Iyyar | 131994b | 2020-12-03 08:35:36 -0600 | [diff] [blame] | 220 | # To get host transport based interface to take respective host |
| 221 | # dump actions. It will contain required sources and dependency |
| 222 | # list for phosphor_dump_manager. |
| 223 | subdir('host-transport-extensions') |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 224 | |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 225 | #pick any architecture specific dumps |
| 226 | subdir('dump-extensions') |
| 227 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 228 | phosphor_dump_monitor_sources = [ |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 229 | dump_types_hpp, |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 230 | 'core_manager.cpp', |
| 231 | 'core_manager_main.cpp', |
| 232 | 'watch.cpp' |
| 233 | ] |
| 234 | |
| 235 | phosphor_dump_monitor_dependency = [ |
George Liu | 73e0bab | 2021-06-29 15:57:43 +0800 | [diff] [blame] | 236 | phosphor_dbus_interfaces_dep, |
Patrick Williams | 0722271 | 2024-02-26 10:37:10 -0600 | [diff] [blame] | 237 | phosphor_logging_dep, |
| 238 | sdeventplus_dep, |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 239 | ] |
| 240 | |
| 241 | phosphor_dump_monitor_install = true |
| 242 | |
Ramesh Iyyar | 3af5c32 | 2020-12-04 00:38:42 -0600 | [diff] [blame] | 243 | phosphor_dump_monitor_incdir = [] |
| 244 | |
George Liu | ff92ffe | 2021-02-09 15:01:53 +0800 | [diff] [blame] | 245 | phosphor_ramoops_monitor_sources = [ |
Dhruvaraj Subhashchandran | c1f5ed6 | 2023-07-09 04:31:28 -0500 | [diff] [blame] | 246 | dump_types_hpp, |
George Liu | ff92ffe | 2021-02-09 15:01:53 +0800 | [diff] [blame] | 247 | 'ramoops_manager.cpp', |
| 248 | 'ramoops_manager_main.cpp', |
| 249 | 'watch.cpp' |
| 250 | ] |
| 251 | |
| 252 | phosphor_ramoops_monitor_dependency = [ |
George Liu | 858fbb2 | 2021-07-01 12:25:44 +0800 | [diff] [blame] | 253 | phosphor_dbus_interfaces_dep, |
Patrick Williams | 0722271 | 2024-02-26 10:37:10 -0600 | [diff] [blame] | 254 | phosphor_logging_dep, |
| 255 | sdeventplus_dep, |
George Liu | ff92ffe | 2021-02-09 15:01:53 +0800 | [diff] [blame] | 256 | ] |
| 257 | |
| 258 | phosphor_ramoops_monitor_install = true |
| 259 | |
| 260 | phosphor_ramoops_monitor_incdir = [] |
| 261 | |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 262 | executables = [[ 'phosphor-dump-manager', |
| 263 | phosphor_dump_manager_sources, |
| 264 | phosphor_dump_manager_dependency, |
Ramesh Iyyar | 3af5c32 | 2020-12-04 00:38:42 -0600 | [diff] [blame] | 265 | phosphor_dump_manager_install, |
| 266 | phosphor_dump_manager_incdir |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 267 | ], |
| 268 | [ 'phosphor-dump-monitor', |
| 269 | phosphor_dump_monitor_sources, |
| 270 | phosphor_dump_monitor_dependency, |
Ramesh Iyyar | 3af5c32 | 2020-12-04 00:38:42 -0600 | [diff] [blame] | 271 | phosphor_dump_monitor_install, |
| 272 | phosphor_dump_monitor_incdir |
George Liu | ff92ffe | 2021-02-09 15:01:53 +0800 | [diff] [blame] | 273 | ], |
| 274 | [ 'phosphor-ramoops-monitor', |
| 275 | phosphor_ramoops_monitor_sources, |
| 276 | phosphor_ramoops_monitor_dependency, |
| 277 | phosphor_ramoops_monitor_install, |
| 278 | phosphor_ramoops_monitor_incdir |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 279 | ] |
| 280 | ] |
| 281 | |
| 282 | foreach executable : executables |
| 283 | binary = executable( |
| 284 | executable[0], |
| 285 | executable[1], |
| 286 | dependencies: executable[2], |
Ramesh Iyyar | 3af5c32 | 2020-12-04 00:38:42 -0600 | [diff] [blame] | 287 | install : executable[3], |
| 288 | include_directories : executable[4] |
Ramesh Iyyar | bb410df | 2020-08-03 03:13:04 -0500 | [diff] [blame] | 289 | ) |
| 290 | endforeach |
Chirag Sharma | 5042725 | 2020-08-11 12:11:38 -0500 | [diff] [blame] | 291 | |
Dhruvaraj Subhashchandran | 9f55736 | 2021-05-12 06:28:20 -0500 | [diff] [blame] | 292 | unit_subs = configuration_data() |
| 293 | unit_subs.set('bindir', join_paths(get_option('prefix'), get_option('bindir'))) |
Patrick Williams | 6c84a8c | 2023-04-12 08:10:41 -0500 | [diff] [blame] | 294 | systemd_system_unit_dir = dependency('systemd').get_variable( |
Dhruvaraj Subhashchandran | 9f55736 | 2021-05-12 06:28:20 -0500 | [diff] [blame] | 295 | 'systemdsystemunitdir', |
Patrick Williams | 6c84a8c | 2023-04-12 08:10:41 -0500 | [diff] [blame] | 296 | pkgconfig_define: ['prefix', get_option('prefix')]) |
Dhruvaraj Subhashchandran | 9f55736 | 2021-05-12 06:28:20 -0500 | [diff] [blame] | 297 | foreach u : unit_files |
| 298 | configure_file( |
| 299 | configuration: unit_subs, |
| 300 | input: u.get('input'), |
| 301 | install: true, |
| 302 | install_dir: systemd_system_unit_dir, |
| 303 | output: u.get('output') |
| 304 | ) |
| 305 | endforeach |
| 306 | |
Patrick Williams | 7cd0528 | 2023-11-29 06:44:29 -0600 | [diff] [blame] | 307 | if get_option('tests').allowed() |
Chirag Sharma | 5042725 | 2020-08-11 12:11:38 -0500 | [diff] [blame] | 308 | subdir('test') |
| 309 | endif |