blob: 9cabe8ef5f62ab19c71f7fea402b7baec9c4a016 [file] [edit]
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 (.*)!"