1common: 2 platform_type: 3 - qemu 4 - native 5 tags: 6 - log_api 7 - logging 8 platform_key: 9 - arch 10 - simulation 11 integration_platforms: 12 - native_sim 13 min_ram: 32 14tests: 15 logging.deferred.api.overflow_rt_filter: 16 extra_configs: 17 - CONFIG_LOG_MODE_DEFERRED=y 18 - CONFIG_LOG_MODE_OVERFLOW=y 19 - CONFIG_LOG_RUNTIME_FILTERING=y 20 21 logging.deferred.api.overflow: 22 extra_configs: 23 - CONFIG_LOG_MODE_DEFERRED=y 24 - CONFIG_LOG_MODE_OVERFLOW=y 25 26 logging.deferred.api.no_overflow: 27 extra_configs: 28 - CONFIG_LOG_MODE_DEFERRED=y 29 - CONFIG_LOG_MODE_OVERFLOW=n 30 31 logging.deferred.api.static_filter: 32 extra_configs: 33 - CONFIG_LOG_MODE_DEFERRED=y 34 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 35 - CONFIG_TEST_LOG_MSG_APPEND_RO_STRING_LOC=y 36 37 logging.deferred.api.printk: 38 extra_configs: 39 - CONFIG_LOG_MODE_DEFERRED=y 40 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 41 - CONFIG_LOG_PRINTK=y 42 # When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. 43 - CONFIG_LOG_PROCESS_THREAD=y 44 45 logging.deferred.api.func_prefix: 46 extra_configs: 47 - CONFIG_LOG_MODE_DEFERRED=y 48 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 49 - CONFIG_LOG_FUNC_NAME_PREFIX_DBG=y 50 51 logging.deferred.api.64b_timestamp: 52 extra_configs: 53 - CONFIG_LOG_MODE_DEFERRED=y 54 - CONFIG_LOG_TIMESTAMP_64BIT=y 55 56 logging.deferred.api.override_level: 57 # Testing on selected platforms as it enables all logs in the application 58 # and it cannot be handled on many platforms. 59 platform_allow: 60 - qemu_cortex_m3 61 - qemu_cortex_a9 62 - native_sim 63 extra_configs: 64 - CONFIG_LOG_MODE_DEFERRED=y 65 - CONFIG_LOG_OVERRIDE_LEVEL=4 66 67 logging.immediate.api: 68 extra_configs: 69 - CONFIG_LOG_MODE_IMMEDIATE=y 70 71 logging.immediate.api.printk: 72 extra_configs: 73 - CONFIG_LOG_MODE_IMMEDIATE=y 74 - CONFIG_LOG_PRINTK=y 75 76 logging.immediate.api.rt_filter: 77 extra_configs: 78 - CONFIG_LOG_MODE_IMMEDIATE=y 79 - CONFIG_LOG_RUNTIME_FILTERING=y 80 81 logging.immediate.api.static_filter: 82 extra_configs: 83 - CONFIG_LOG_MODE_IMMEDIATE=y 84 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 85 86 logging.immediate.api.64b_timestamp: 87 extra_configs: 88 - CONFIG_LOG_MODE_IMMEDIATE=y 89 - CONFIG_LOG_TIMESTAMP_64BIT=y 90 91 logging.frontend.dbg: 92 extra_configs: 93 - CONFIG_LOG_FRONTEND=y 94 - CONFIG_LOG_MODE_DEFERRED=y 95 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 96 97 logging.frontend.dbg.rt_filtering: 98 extra_configs: 99 - CONFIG_LOG_FRONTEND=y 100 - CONFIG_LOG_MODE_DEFERRED=y 101 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 102 - CONFIG_LOG_RUNTIME_FILTERING=y 103 104 logging.frontend: 105 extra_configs: 106 - CONFIG_LOG_FRONTEND=y 107 - CONFIG_LOG_MODE_DEFERRED=y 108 - CONFIG_TEST_LOG_MSG_APPEND_RO_STRING_LOC=y 109 110 logging.frontend.rt_filtering: 111 extra_configs: 112 - CONFIG_LOG_FRONTEND=y 113 - CONFIG_LOG_MODE_DEFERRED=y 114 - CONFIG_LOG_RUNTIME_FILTERING=y 115 116 logging.frontend.immediate: 117 extra_configs: 118 - CONFIG_LOG_FRONTEND=y 119 - CONFIG_LOG_MODE_IMMEDIATE=y 120 121 logging.frontend.immediate_override_level: 122 # Testing on selected platforms as it enables all logs in the application 123 # and it cannot be handled on many platforms. 124 platform_allow: 125 - qemu_cortex_m3 126 - qemu_cortex_a9 127 - native_sim 128 extra_configs: 129 - CONFIG_LOG_FRONTEND=y 130 - CONFIG_LOG_MODE_IMMEDIATE=y 131 - CONFIG_LOG_OVERRIDE_LEVEL=4 132 133 logging.deferred.api.override_level_rt_filtering: 134 # Testing on selected platforms as it enables all logs in the application 135 # and it cannot be handled on many platforms. 136 platform_allow: 137 - qemu_cortex_m3 138 - qemu_cortex_a9 139 - native_sim 140 extra_configs: 141 - CONFIG_LOG_MODE_DEFERRED=y 142 - CONFIG_LOG_RUNTIME_FILTERING=y 143 - CONFIG_LOG_OVERRIDE_LEVEL=4 144 145 logging.frontend.only: 146 extra_configs: 147 - CONFIG_LOG_FRONTEND=y 148 - CONFIG_LOG_FRONTEND_ONLY=y 149 150 logging.frontend.only.rt_filtering: 151 extra_configs: 152 - CONFIG_LOG_FRONTEND=y 153 - CONFIG_LOG_FRONTEND_ONLY=y 154 - CONFIG_LOG_RUNTIME_FILTERING=y 155 156 logging.frontend.no_backends: 157 extra_configs: 158 - CONFIG_LOG_FRONTEND=y 159 - CONFIG_LOG_FRONTEND_ONLY=y 160 - CONFIG_LOG_BACKEND_UART=n 161 - CONFIG_LOG_BACKEND_RTT=n 162 - CONFIG_LOG_BACKEND_NATIVE_POSIX=n 163 - CONFIG_LOG_BACKEND_XTENSA_SIM=n 164 extra_args: EXTRA_CPPFLAGS=-DNO_BACKENDS=1 165 166 logging.deferred.api.overflow_rt_filter_cpp: 167 extra_configs: 168 - CONFIG_LOG_MODE_DEFERRED=y 169 - CONFIG_LOG_MODE_OVERFLOW=y 170 - CONFIG_LOG_RUNTIME_FILTERING=y 171 - CONFIG_CPP=y 172 173 logging.deferred.api.overflow_cpp: 174 extra_configs: 175 - CONFIG_LOG_MODE_DEFERRED=y 176 - CONFIG_LOG_MODE_OVERFLOW=y 177 - CONFIG_CPP=y 178 179 logging.deferred.api.no_overflowcpp: 180 extra_configs: 181 - CONFIG_LOG_MODE_DEFERRED=y 182 - CONFIG_LOG_MODE_OVERFLOW=n 183 - CONFIG_CPP=y 184 185 logging.deferred.api.static_filter_cpp: 186 extra_configs: 187 - CONFIG_LOG_MODE_DEFERRED=y 188 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 189 - CONFIG_CPP=y 190 191 logging.deferred.api.printk_cpp: 192 extra_configs: 193 - CONFIG_LOG_MODE_DEFERRED=y 194 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 195 - CONFIG_LOG_PRINTK=y 196 # When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. 197 - CONFIG_LOG_PROCESS_THREAD=y 198 - CONFIG_CPP=y 199 200 logging.deferred.api.func_prefix_cpp: 201 extra_configs: 202 - CONFIG_LOG_MODE_DEFERRED=y 203 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 204 - CONFIG_LOG_FUNC_NAME_PREFIX_DBG=y 205 - CONFIG_CPP=y 206 207 logging.deferred.api.64b_timestamp_cpp: 208 extra_configs: 209 - CONFIG_LOG_MODE_DEFERRED=y 210 - CONFIG_LOG_TIMESTAMP_64BIT=y 211 - CONFIG_CPP=y 212 213 logging.immediate.api.cpp: 214 extra_configs: 215 - CONFIG_LOG_MODE_IMMEDIATE=y 216 - CONFIG_CPP=y 217 218 logging.immediate.api.printk_cpp: 219 extra_configs: 220 - CONFIG_LOG_MODE_IMMEDIATE=y 221 - CONFIG_LOG_PRINTK=y 222 - CONFIG_CPP=y 223 224 logging.immediate.api.rt_filter_cpp: 225 extra_configs: 226 - CONFIG_LOG_MODE_IMMEDIATE=y 227 - CONFIG_LOG_RUNTIME_FILTERING=y 228 - CONFIG_CPP=y 229 230 logging.immediate.api.static_filter_cpp: 231 extra_configs: 232 - CONFIG_LOG_MODE_IMMEDIATE=y 233 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 234 - CONFIG_CPP=y 235 236 logging.immediate.api.64b_timestamp_cpp: 237 extra_configs: 238 - CONFIG_LOG_MODE_IMMEDIATE=y 239 - CONFIG_LOG_TIMESTAMP_64BIT=y 240 - CONFIG_CPP=y 241 242 logging.frontend.dbg_cpp: 243 extra_configs: 244 - CONFIG_LOG_FRONTEND=y 245 - CONFIG_LOG_MODE_DEFERRED=y 246 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 247 - CONFIG_CPP=y 248 249 logging.frontend.cpp: 250 extra_configs: 251 - CONFIG_LOG_FRONTEND=y 252 - CONFIG_LOG_MODE_DEFERRED=y 253 - CONFIG_CPP=y 254 255 logging.frontend.immediate_cpp: 256 extra_configs: 257 - CONFIG_LOG_FRONTEND=y 258 - CONFIG_LOG_MODE_IMMEDIATE=y 259 - CONFIG_CPP=y 260 261 logging.frontend.only_cpp: 262 extra_configs: 263 - CONFIG_LOG_FRONTEND=y 264 - CONFIG_LOG_FRONTEND_ONLY=y 265 - CONFIG_CPP=y 266 267 logging.frontend.only_cpp.rt_filtering: 268 extra_configs: 269 - CONFIG_LOG_FRONTEND=y 270 - CONFIG_LOG_FRONTEND_ONLY=y 271 - CONFIG_CPP=y 272 - CONFIG_LOG_RUNTIME_FILTERING=y 273 274 logging.frontend.no_backends_cpp: 275 extra_configs: 276 - CONFIG_LOG_FRONTEND=y 277 - CONFIG_LOG_FRONTEND_ONLY=y 278 - CONFIG_LOG_BACKEND_UART=n 279 - CONFIG_LOG_BACKEND_RTT=n 280 - CONFIG_LOG_BACKEND_NATIVE_POSIX=n 281 - CONFIG_LOG_BACKEND_XTENSA_SIM=n 282 - CONFIG_CPP=y 283 extra_args: EXTRA_CPPFLAGS=-DNO_BACKENDS=1 284 285 logging.deferred.api.overflow_rt_filter.tagged_args: 286 toolchain_exclude: xcc 287 extra_configs: 288 - CONFIG_LOG_MODE_DEFERRED=y 289 - CONFIG_LOG_MODE_OVERFLOW=y 290 - CONFIG_LOG_RUNTIME_FILTERING=y 291 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 292 293 logging.deferred.api.overflow.tagged_args: 294 toolchain_exclude: xcc 295 extra_configs: 296 - CONFIG_LOG_MODE_DEFERRED=y 297 - CONFIG_LOG_MODE_OVERFLOW=y 298 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 299 300 logging.deferred.api.no_overflowtagged_args: 301 toolchain_exclude: xcc 302 extra_configs: 303 - CONFIG_LOG_MODE_DEFERRED=y 304 - CONFIG_LOG_MODE_OVERFLOW=n 305 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 306 307 logging.deferred.api.static_filter.tagged_args: 308 toolchain_exclude: xcc 309 extra_configs: 310 - CONFIG_LOG_MODE_DEFERRED=y 311 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 312 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 313 314 logging.deferred.api.printk.tagged_args: 315 toolchain_exclude: xcc 316 extra_configs: 317 - CONFIG_LOG_MODE_DEFERRED=y 318 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 319 - CONFIG_LOG_PRINTK=y 320 # When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. 321 - CONFIG_LOG_PROCESS_THREAD=y 322 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 323 324 logging.deferred.api.func_prefix.tagged_args: 325 toolchain_exclude: xcc 326 extra_configs: 327 - CONFIG_LOG_MODE_DEFERRED=y 328 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 329 - CONFIG_LOG_FUNC_NAME_PREFIX_DBG=y 330 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 331 332 logging.deferred.api.64b_timestamp.tagged_args: 333 toolchain_exclude: xcc 334 extra_configs: 335 - CONFIG_LOG_MODE_DEFERRED=y 336 - CONFIG_LOG_TIMESTAMP_64BIT=y 337 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 338 339 logging.deferred.api.override_level.tagged_args: 340 # Testing on selected platforms as it enables all logs in the application 341 # and it cannot be handled on many platforms. 342 platform_allow: 343 - qemu_cortex_m3 344 - qemu_cortex_a9 345 - native_sim 346 toolchain_exclude: xcc 347 extra_configs: 348 - CONFIG_LOG_MODE_DEFERRED=y 349 - CONFIG_LOG_OVERRIDE_LEVEL=4 350 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 351 352 logging.deferred.api.override_level_rt_filtering.tagged_args: 353 # Testing on selected platforms as it enables all logs in the application 354 # and it cannot be handled on many platforms. 355 platform_allow: 356 - qemu_cortex_m3 357 - qemu_cortex_a9 358 - native_sim 359 toolchain_exclude: xcc 360 extra_configs: 361 - CONFIG_LOG_MODE_DEFERRED=y 362 - CONFIG_LOG_RUNTIME_FILTERING=y 363 - CONFIG_LOG_OVERRIDE_LEVEL=4 364 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 365 366 logging.immediate.api.tagged_args: 367 toolchain_exclude: xcc 368 extra_configs: 369 - CONFIG_LOG_MODE_IMMEDIATE=y 370 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 371 372 logging.immediate.api.printk.tagged_args: 373 toolchain_exclude: xcc 374 extra_configs: 375 - CONFIG_LOG_MODE_IMMEDIATE=y 376 - CONFIG_LOG_PRINTK=y 377 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 378 379 logging.immediate.api.rt_filter.tagged_args: 380 toolchain_exclude: xcc 381 extra_configs: 382 - CONFIG_LOG_MODE_IMMEDIATE=y 383 - CONFIG_LOG_RUNTIME_FILTERING=y 384 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 385 386 logging.immediate.api.static_filter.tagged_args: 387 toolchain_exclude: xcc 388 extra_configs: 389 - CONFIG_LOG_MODE_IMMEDIATE=y 390 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 391 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 392 393 logging.immediate.api.64b_timestamp.tagged_args: 394 toolchain_exclude: xcc 395 extra_configs: 396 - CONFIG_LOG_MODE_IMMEDIATE=y 397 - CONFIG_LOG_TIMESTAMP_64BIT=y 398 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 399 400 logging.deferred.api.overflow_rt_filter_cpp.tagged_args: 401 toolchain_exclude: xcc 402 extra_configs: 403 - CONFIG_LOG_MODE_DEFERRED=y 404 - CONFIG_LOG_MODE_OVERFLOW=y 405 - CONFIG_LOG_RUNTIME_FILTERING=y 406 - CONFIG_CPP=y 407 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 408 409 logging.deferred.api.overflow_cpp.tagged_args: 410 toolchain_exclude: xcc 411 extra_configs: 412 - CONFIG_LOG_MODE_DEFERRED=y 413 - CONFIG_LOG_MODE_OVERFLOW=y 414 - CONFIG_CPP=y 415 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 416 417 logging.deferred.api.no_overflowcpp.tagged_args: 418 toolchain_exclude: xcc 419 extra_configs: 420 - CONFIG_LOG_MODE_DEFERRED=y 421 - CONFIG_LOG_MODE_OVERFLOW=n 422 - CONFIG_CPP=y 423 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 424 425 logging.deferred.api.static_filter_cpp.tagged_args: 426 toolchain_exclude: xcc 427 extra_configs: 428 - CONFIG_LOG_MODE_DEFERRED=y 429 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 430 - CONFIG_CPP=y 431 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 432 433 logging.deferred.api.printk_cpp.tagged_args: 434 toolchain_exclude: xcc 435 extra_configs: 436 - CONFIG_LOG_MODE_DEFERRED=y 437 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 438 - CONFIG_LOG_PRINTK=y 439 # When LOG_PRINTK is enabled, thread must process otherwise test output would be lost. 440 - CONFIG_LOG_PROCESS_THREAD=y 441 - CONFIG_CPP=y 442 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 443 444 logging.deferred.api.func_prefix_cpp.tagged_args: 445 toolchain_exclude: xcc 446 extra_configs: 447 - CONFIG_LOG_MODE_DEFERRED=y 448 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 449 - CONFIG_LOG_FUNC_NAME_PREFIX_DBG=y 450 - CONFIG_CPP=y 451 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 452 453 logging.deferred.api.64b_timestamp_cpp.tagged_args: 454 toolchain_exclude: xcc 455 extra_configs: 456 - CONFIG_LOG_MODE_DEFERRED=y 457 - CONFIG_LOG_TIMESTAMP_64BIT=y 458 - CONFIG_CPP=y 459 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 460 461 logging.immediate.api.cpp.tagged_args: 462 toolchain_exclude: xcc 463 extra_configs: 464 - CONFIG_LOG_MODE_IMMEDIATE=y 465 - CONFIG_CPP=y 466 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 467 468 logging.immediate.api.printk_cpp.tagged_args: 469 toolchain_exclude: xcc 470 extra_configs: 471 - CONFIG_LOG_MODE_IMMEDIATE=y 472 - CONFIG_LOG_PRINTK=y 473 - CONFIG_CPP=y 474 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 475 476 logging.immediate.api.rt_filter_cpp.tagged_args: 477 toolchain_exclude: xcc 478 extra_configs: 479 - CONFIG_LOG_MODE_IMMEDIATE=y 480 - CONFIG_LOG_RUNTIME_FILTERING=y 481 - CONFIG_CPP=y 482 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 483 484 logging.immediate.api.static_filter_cpp.tagged_args: 485 toolchain_exclude: xcc 486 extra_configs: 487 - CONFIG_LOG_MODE_IMMEDIATE=y 488 - CONFIG_SAMPLE_MODULE_LOG_LEVEL_DBG=y 489 - CONFIG_CPP=y 490 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 491 492 logging.immediate.api.64b_timestamp_cpp.tagged_args: 493 toolchain_exclude: xcc 494 extra_configs: 495 - CONFIG_LOG_MODE_IMMEDIATE=y 496 - CONFIG_LOG_TIMESTAMP_64BIT=y 497 - CONFIG_CPP=y 498 - CONFIG_LOG_USE_TAGGED_ARGUMENTS=y 499