2017-04-05 11:11:22 +08:00
|
|
|
sample:
|
2017-10-15 00:08:08 +08:00
|
|
|
description: A simple application that demonstrates
|
|
|
|
basic sanity of the kernel.
|
|
|
|
name: Synchronization Sample
|
2017-04-05 11:11:22 +08:00
|
|
|
tests:
|
2018-06-12 00:14:38 +08:00
|
|
|
sample.synchronization:
|
2017-12-06 02:00:43 +08:00
|
|
|
build_on_all: true
|
2018-10-16 03:13:17 +08:00
|
|
|
tags: kernel synchronization
|
2017-12-11 09:05:44 +08:00
|
|
|
harness: console
|
2017-12-24 23:11:39 +08:00
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
regex:
|
|
|
|
- "threadA: Hello World from (.*)!"
|
|
|
|
- "threadB: Hello World from (.*)!"
|
2018-10-30 07:01:32 +08:00
|
|
|
sample.synchronization.openocd:
|
|
|
|
tags: kernel synchronization
|
|
|
|
extra_configs:
|
|
|
|
- CONFIG_OPENOCD_SUPPORT=y
|
|
|
|
arch_exclude: posix xtensa
|
|
|
|
harness: console
|
|
|
|
harness_config:
|
|
|
|
type: multi_line
|
|
|
|
regex:
|
|
|
|
- "thread_a: Hello World from (.*)!"
|
|
|
|
- "thread_b: Hello World from (.*)!"
|