Skip to content

Commit 3f71ea7

Browse files
committed
samples/tests: Limit tests to known platforms
Weekly builds will try running on a lot of platforms that aren't necessarily supported. Until there is better support for this, specify an explicit list f platforms to support. Signed-off-by: David Brown <[email protected]>
1 parent a580667 commit 3f71ea7

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

samples/hello_world/sample.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ common:
99
- "Hello world from Rust on (.*)"
1010
tags: rust
1111
filter: CONFIG_RUST_SUPPORTED
12+
platform_allow:
13+
- qemu_cortex_m0
14+
- qemu_cortex_m3
15+
- qemu_riscv32
16+
- qemu_riscv32/qemu_virt_riscv32/smp
17+
- qemu_riscv64
18+
- qemu_riscv64/qemu_virt_riscv64/smp
19+
- nrf52840dk/nrf52840
1220
tests:
1321
sample.rust.helloworld:
1422
tags: introduction

tests/time/testcase.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
common:
22
filter: CONFIG_RUST_SUPPORTED
3+
platform_allow:
4+
- qemu_cortex_m0
5+
- qemu_cortex_m3
6+
- qemu_riscv32
7+
- qemu_riscv32/qemu_virt_riscv32/smp
8+
- qemu_riscv64
9+
- qemu_riscv64/qemu_virt_riscv64/smp
10+
- nrf52840dk/nrf52840
311
tests:
412
test.rust.time:
513
harness: console

0 commit comments

Comments
 (0)