summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRbb666 <[email protected]>2025-09-14 12:09:08 +0800
committerR b b666 <[email protected]>2025-09-18 22:27:34 +0800
commitd7dded112e7bfe5b0b5ae00949f78e3a277886db (patch)
tree7f6098c804eeabeef3ba1f4a6f25a4eb891dde6d /.github
parent64a938174e380ce7ab2ffc0c6a6c3372e599883b (diff)
[utest][netdev]add netdev api testcases.
Diffstat (limited to '.github')
-rw-r--r--.github/utest/netdev/netdev.cfg11
-rw-r--r--.github/workflows/utest_auto_run.yml3
2 files changed, 14 insertions, 0 deletions
diff --git a/.github/utest/netdev/netdev.cfg b/.github/utest/netdev/netdev.cfg
new file mode 100644
index 0000000000..d09e790ac4
--- /dev/null
+++ b/.github/utest/netdev/netdev.cfg
@@ -0,0 +1,11 @@
+# dependencies
+CONFIG_RT_CONSOLEBUF_SIZE=1024
+CONFIG_RT_NAME_MAX=24
+CONFIG_RT_USING_CI_ACTION=y
+# CONFIG_RT_USING_LWIP203=y
+CONFIG_RT_USING_LWIP212=y
+
+CONFIG_RT_UTEST_TC_USING_NETDEV=y
+CONFIG_RT_UTEST_DEFAULT_NETDEV_NAME="e0"
+
+CONFIG_BSP_DRV_EMAC=y \ No newline at end of file
diff --git a/.github/workflows/utest_auto_run.yml b/.github/workflows/utest_auto_run.yml
index 2a102e4bbe..6fa2fce9f6 100644
--- a/.github/workflows/utest_auto_run.yml
+++ b/.github/workflows/utest_auto_run.yml
@@ -61,6 +61,9 @@ jobs:
- platform: { UTEST: "A9", RTT_BSP: "bsp/qemu-vexpress-a9", QEMU_ARCH: "arm", QEMU_MACHINE: "vexpress-a9", SD_FILE: "sd.bin", KERNEL: "standard", "SMP_RUN":"" }
config_file: "lwip/lwip.cfg"
+ - platform: { UTEST: "A9", RTT_BSP: "bsp/qemu-vexpress-a9", QEMU_ARCH: "arm", QEMU_MACHINE: "vexpress-a9", SD_FILE: "sd.bin", KERNEL: "standard", "SMP_RUN":"" }
+ config_file: "netdev/netdev.cfg"
+
env:
TEST_QEMU_ARCH: ${{ matrix.platform.QEMU_ARCH }}
TEST_QEMU_MACHINE: ${{ matrix.platform.QEMU_MACHINE }}