Skip to content

Commit 71e536b

Browse files
committed
utest: integrate config option for utest of klibc
Signed-off-by: Chen Wang <[email protected]>
1 parent 56f58bc commit 71e536b

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

components/utilities/utest/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ rsource "../../../examples/utest/testcases/tmpfs/Kconfig"
1919
rsource "../../../examples/utest/testcases/smp_call/Kconfig"
2020
rsource "../../../examples/utest/testcases/perf/Kconfig"
2121

22+
rsource "../../../src/klibc/utest/Kconfig"
23+
2224
endif
2325

2426
endmenu

src/klibc/Kconfig

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,4 @@ menu "klibc options"
250250
default n
251251
endmenu # rt_strnlen options
252252

253-
config RT_UTEST_TC_USING_KLIBC
254-
bool "Enable klibc utest cases"
255-
select RT_USING_UTEST
256-
default n
257-
258253
endmenu

src/klibc/utest/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
config RT_UTEST_TC_USING_KLIBC
2+
bool "Enable klibc utest cases"
3+
select RT_USING_UTEST
4+
default n

0 commit comments

Comments
 (0)