Skip to content

Commit 2b486d1

Browse files
committed
[ci][utest]Simplify the configuration logic in utest_auto_run.yml
1 parent 550d072 commit 2b486d1

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/utest_auto_run.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,10 @@ jobs:
4646

4747
config_file:
4848
- "default.cfg"
49-
5049
include:
5150
# only run on qemu-vexpress-a9
52-
- platform: { UTEST: "A9", RTT_BSP: "bsp/qemu-vexpress-a9", QEMU_ARCH: "arm", QEMU_MACHINE: "vexpress-a9", SD_FILE: "sd.bin", KERNEL: "standard", "SMP_RUN":"" }
53-
config_file: "kernel/object.cfg"
54-
55-
- platform: { UTEST: "A9", RTT_BSP: "bsp/qemu-vexpress-a9", QEMU_ARCH: "arm", QEMU_MACHINE: "vexpress-a9", SD_FILE: "sd.bin", KERNEL: "standard", "SMP_RUN":"" }
56-
config_file: "dfs/dfs.cfg"
57-
58-
- platform: { UTEST: "A9", RTT_BSP: "bsp/qemu-vexpress-a9", QEMU_ARCH: "arm", QEMU_MACHINE: "vexpress-a9", SD_FILE: "sd.bin", KERNEL: "standard", "SMP_RUN":"" }
59-
config_file: "cpp11/cpp11.cfg"
60-
61-
- platform: { UTEST: "A9", RTT_BSP: "bsp/qemu-vexpress-a9", QEMU_ARCH: "arm", QEMU_MACHINE: "vexpress-a9", SD_FILE: "sd.bin", KERNEL: "standard", "SMP_RUN":"" }
62-
config_file: "lwip/lwip.cfg"
63-
64-
- platform: { UTEST: "A9", RTT_BSP: "bsp/qemu-vexpress-a9", QEMU_ARCH: "arm", QEMU_MACHINE: "vexpress-a9", SD_FILE: "sd.bin", KERNEL: "standard", "SMP_RUN":"" }
65-
config_file: "netdev/netdev.cfg"
51+
- platform: { UTEST: "A9", RTT_BSP: "bsp/qemu-vexpress-a9", QEMU_ARCH: "arm", QEMU_MACHINE: "vexpress-a9", SD_FILE: "sd.bin", KERNEL: "standard", "SMP_RUN":"" }
52+
config_file: ["kernel/object.cfg", "dfs/dfs.cfg", "cpp11/cpp11.cfg", "lwip/lwip.cfg", "netdev/netdev.cfg"]
6653

6754
env:
6855
TEST_QEMU_ARCH: ${{ matrix.platform.QEMU_ARCH }}

0 commit comments

Comments
 (0)