Skip to content

Commit 5b85b71

Browse files
committed
add object testcase for auto ci
1 parent d23006e commit 5b85b71

File tree

6 files changed

+381
-25
lines changed

6 files changed

+381
-25
lines changed

.github/utest/kernel/object.cfg

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
CONFIG_UTEST_OBJECT_TC=y
2+
3+
# dependencies
4+
CONFIG_RT_USING_CI_ACTION=y
5+
CONFIG_RT_USING_DEVICE=y
6+
CONFIG_RT_USING_SEMAPHORE=y

.github/workflows/utest_auto_run.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
config_file:
4848
- "default.cfg"
4949

50+
# kernel
51+
# - "kernel/object.cfg"
52+
5053
# cpp11
5154
# - "cpp11/cpp11.cfg"
5255

examples/utest/testcases/kernel/Kconfig

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
menu "Kernel Testcase"
22

3-
config UTEST_OBJECT_TC
4-
bool "object test"
5-
default y
6-
73
config UTEST_MEMHEAP_TC
84
bool "memheap stability test"
95
default y
@@ -14,6 +10,12 @@ config UTEST_SMALL_MEM_TC
1410
default y
1511
depends on RT_USING_SMALL_MEM
1612

13+
config UTEST_OBJECT_TC
14+
select RT_USING_DEVICE
15+
select RT_USING_SEMAPHORE
16+
bool "object test"
17+
default n
18+
1719
config UTEST_SLAB_TC
1820
bool "slab test"
1921
default n

0 commit comments

Comments
 (0)