Skip to content

Commit 9236c7d

Browse files
committed
ci[auto utest run]: standardize naming and add sal testcases
1 parent 926d403 commit 9236c7d

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

.github/utest/lwip/lwip.cfg renamed to .github/utest/net/lwip.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ CONFIG_RT_CONSOLEBUF_SIZE=1024
33
CONFIG_RT_NAME_MAX=24
44
CONFIG_RT_USING_CI_ACTION=y
55

6+
CONFIG_RT_UTEST_TC_USING_NETWORK=y
67
CONFIG_RT_LWIP_NETIF_LOOPBACK=y
78
CONFIG_LWIP_NETIF_LOOPBACK=1
89
CONFIG_RT_UTEST_TC_USING_LWIP=y

.github/utest/netdev/netdev.cfg renamed to .github/utest/net/netdev.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CONFIG_RT_USING_CI_ACTION=y
55
# CONFIG_RT_USING_LWIP203=y
66
CONFIG_RT_USING_LWIP212=y
77

8+
CONFIG_RT_UTEST_TC_USING_NETWORK=y
89
CONFIG_RT_UTEST_TC_USING_NETDEV=y
910
CONFIG_RT_UTEST_DEFAULT_NETDEV_NAME="e0"
1011

.github/utest/net/sal_lwip.cfg

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# dependencies
2+
CONFIG_RT_CONSOLEBUF_SIZE=1024
3+
CONFIG_RT_NAME_MAX=24
4+
CONFIG_RT_USING_CI_ACTION=y
5+
6+
CONFIG_RT_UTEST_TC_USING_NETWORK=y
7+
CONFIG_RT_UTEST_TC_USING_SAL=y
8+
# Using lwip
9+
CONFIG_RT_USING_LWIP=y
10+
CONFIG_RT_LWIP_NETIF_LOOPBACK=y
11+
CONFIG_BSP_DRV_EMAC=y

.github/workflows/utest_auto_run.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,13 @@ jobs:
5959
config_file: "cpp11/cpp11.cfg"
6060

6161
- 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"
62+
config_file: "net/lwip.cfg"
6363

6464
- 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"
65+
config_file: "net/netdev.cfg"
66+
67+
- platform: { UTEST: "A9", RTT_BSP: "bsp/qemu-vexpress-a9", QEMU_ARCH: "arm", QEMU_MACHINE: "vexpress-a9", SD_FILE: "sd.bin", KERNEL: "standard", "SMP_RUN":"" }
68+
config_file: "net/sal_lwip.cfg"
6669

6770
env:
6871
TEST_QEMU_ARCH: ${{ matrix.platform.QEMU_ARCH }}

0 commit comments

Comments
 (0)