Skip to content

Commit 97a12b1

Browse files
committed
samples: bench: Update samples.yaml
Make sure the sample matches, including target selection. Signed-off-by: David Brown <[email protected]>
1 parent 3d9360d commit 97a12b1

File tree

1 file changed

+13
-35
lines changed

1 file changed

+13
-35
lines changed

samples/bench/sample.yaml

Lines changed: 13 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,19 @@ common:
66
harness_config:
77
type: one_line
88
regex:
9-
# Match the statistics, and make sure that each philosopher has at least 10 (two digits)
10-
# meals.
11-
- "c:\\[\\d{2,}, \\d{2,}, \\d{2,}, \\d{2,}, \\d{2,}, \\d{2,}\\]"
9+
# Match message printed at the end.
10+
- "Done with all tests"
1211
tags: rust
1312
filter: CONFIG_RUST_SUPPORTED
13+
platform_allow:
14+
- qemu_cortex_m0
15+
- qemu_cortex_m3
16+
- qemu_riscv32
17+
- qemu_riscv32/qemu_virt_riscv32/smp
18+
- qemu_riscv64
19+
- qemu_riscv64/qemu_virt_riscv64/smp
20+
- nrf52840dk/nrf52840
1421
tests:
15-
sample.rust.philosopher.semaphore:
16-
tags: introduction
17-
min_ram: 32
18-
extra_configs:
19-
- CONFIG_SYNC_SYS_SEMAPHORE=y
20-
sample.rust.philosopher.dynsemaphore:
21-
tags: introduction
22-
min_ram: 32
23-
extra_configs:
24-
- CONFIG_SYNC_SYS_DYNAMIC_SEMAPHORE=y
25-
sample.rust.philosopher.sysmutex:
26-
tags: introduction
27-
min_ram: 32
28-
extra_configs:
29-
- CONFIG_SYNC_SYS_MUTEX=y
30-
sample.rust.philosopher.condvar:
31-
tags: introduction
32-
min_ram: 32
33-
extra_configs:
34-
- CONFIG_SYNC_CONDVAR=y
35-
sample.rust.philosopher.channel_bounded:
36-
tags: introduction
37-
min_ram: 32
38-
extra_configs:
39-
- CONFIG_SYNC_CHANNEL=y
40-
- CONFIG_USE_BOUNDED_CHANNELS=y
41-
sample.rust.philosopher.channel_unbounded:
42-
tags: introduction
43-
min_ram: 32
44-
extra_configs:
45-
- CONFIG_SYNC_CHANNEL=y
46-
- CONFIG_USE_BOUNDED_CHANNELS=n
22+
sample.rust/bench.plain:
23+
tags: benchmark
24+
min_ram: 256

0 commit comments

Comments
 (0)