| sample: |
| description: A simple application that demonstrates |
| basic sanity of the kernel. |
| name: Synchronization Sample |
| tests: |
| sample.kernel.synchronization: |
| tags: synchronization |
| build_on_all: true |
| harness: console |
| harness_config: |
| type: multi_line |
| regex: |
| - "thread_a: Hello World from (.*)!" |
| - "thread_b: Hello World from (.*)!" |
| sample.kernel.synchronization.cpu_mask: |
| tags: synchronization |
| filter: CONFIG_SMP and CONFIG_MP_MAX_NUM_CPUS > 1 |
| extra_configs: |
| - CONFIG_SCHED_SIMPLE=y |
| - CONFIG_SCHED_CPU_MASK=y |
| harness: console |
| harness_config: |
| type: multi_line |
| regex: |
| - "thread_a: Hello World from (.*)!" |
| - "thread_b: Hello World from (.*)!" |