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