Skip to content

Commit 86149dc

Browse files
committed
fix(kernel)/improve(utest):fix the legacy issue related to the length of the object name version
1 parent d23006e commit 86149dc

File tree

5 files changed

+377
-24
lines changed

5 files changed

+377
-24
lines changed

.github/utest/kernel/object.cfg

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

.github/workflows/utest_auto_run.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646

4747
config_file:
4848
- "default.cfg"
49+
- "kernel/object.cfg"
4950

5051
# cpp11
5152
# - "cpp11/cpp11.cfg"

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)