forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sample.yaml
43 lines (43 loc) · 1.09 KB
/
sample.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
sample:
name: Dining Philosophers
common:
extra_args: DEBUG_PRINTF=1
tags:
- introduction
- kernel
harness: console
min_ram: 16
integration_platforms:
- native_sim
harness_config:
type: multi_line
ordered: false
regex:
- ".*STARVING.*"
- ".*DROPPED ONE FORK.*"
- ".*THINKING.*"
- ".*EATING.*"
tests:
sample.kernel.philosopher: {}
sample.kernel.philosopher.same_prio:
extra_args: SAME_PRIO=1
sample.kernel.philosopher.static:
extra_args: STATIC_OBJS=1
sample.kernel.philosopher.semaphores:
extra_args: FORKS=SEMAPHORES
sample.kernel.philosopher.stacks:
extra_args: FORKS=STACKS
sample.kernel.philosopher.fifos:
extra_args: FORKS=FIFOS
sample.kernel.philosopher.lifos:
extra_args: FORKS=LIFOS
sample.kernel.philosopher.preempt_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=6
- CONFIG_NUM_COOP_PRIORITIES=0
- CONFIG_BT=n
- CONFIG_NETWORKING=n
sample.kernel.philosopher.coop_only:
extra_configs:
- CONFIG_NUM_PREEMPT_PRIORITIES=0
- CONFIG_NUM_COOP_PRIORITIES=7