1sample:
2  name: Dining Philosophers
3common:
4  extra_args: DEBUG_PRINTF=1
5  tags: introduction
6  harness: console
7  integration_platforms:
8    - native_posix
9  harness_config:
10    type: multi_line
11    ordered: false
12    regex:
13      - ".*STARVING.*"
14      - ".*DROPPED ONE FORK.*"
15      - ".*THINKING.*"
16      - ".*EATING.*"
17tests:
18  sample.kernel.philosopher:
19    tags: introduction
20  sample.kernel.philosopher.same_prio:
21    extra_args: "-DSAME_PRIO=1"
22  sample.kernel.philosopher.static:
23    extra_args: "-DSTATIC_OBJS=1"
24  sample.kernel.philosopher.semaphores:
25    extra_args: "-DFORKS=SEMAPHORES"
26  sample.kernel.philosopher.stacks:
27    extra_args: "-DFORKS=STACKS"
28  sample.kernel.philosopher.fifos:
29    extra_args: "-DFORKS=FIFOS"
30  sample.kernel.philosopher.lifos:
31    extra_args: "-DFORKS=LIFOS"
32  sample.kernel.philosopher.preempt_only:
33    extra_configs:
34      - CONFIG_NUM_PREEMPT_PRIORITIES=6
35      - CONFIG_NUM_COOP_PRIORITIES=0
36      - CONFIG_BT=n
37      - CONFIG_NETWORKING=n
38  sample.kernel.philosopher.coop_only:
39    extra_configs:
40      - CONFIG_NUM_PREEMPT_PRIORITIES=0
41      - CONFIG_NUM_COOP_PRIORITIES=7
42