summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Wang <[email protected]>2025-07-24 16:52:00 +0800
committerR b b666 <[email protected]>2025-08-26 10:26:47 +0800
commit532da3482b7ee025b6e72534de7273471656abb5 (patch)
tree299fafad83ace6fad1c6d797f2f581e575f8f990
parent06c5cc0846980b7d0842d348e3615e8997975249 (diff)
utest: integrate config option for utest of klibc
Signed-off-by: Chen Wang <[email protected]>
-rw-r--r--Kconfig.utestcases2
-rw-r--r--src/klibc/Kconfig5
-rw-r--r--src/klibc/utest/Kconfig4
3 files changed, 6 insertions, 5 deletions
diff --git a/Kconfig.utestcases b/Kconfig.utestcases
index 3dcbc9920c..e1d4dbe9e1 100644
--- a/Kconfig.utestcases
+++ b/Kconfig.utestcases
@@ -19,6 +19,8 @@ rsource "examples/utest/testcases/tmpfs/Kconfig"
rsource "examples/utest/testcases/smp_call/Kconfig"
rsource "examples/utest/testcases/perf/Kconfig"
+rsource "src/klibc/utest/Kconfig"
+
endif
endmenu
diff --git a/src/klibc/Kconfig b/src/klibc/Kconfig
index bc90e90e8f..daeb3dedee 100644
--- a/src/klibc/Kconfig
+++ b/src/klibc/Kconfig
@@ -250,9 +250,4 @@ menu "klibc options"
default n
endmenu # rt_strnlen options
- config RT_UTEST_TC_USING_KLIBC
- bool "Enable klibc utest cases"
- select RT_USING_UTEST
- default n
-
endmenu
diff --git a/src/klibc/utest/Kconfig b/src/klibc/utest/Kconfig
new file mode 100644
index 0000000000..086a817e07
--- /dev/null
+++ b/src/klibc/utest/Kconfig
@@ -0,0 +1,4 @@
+config RT_UTEST_TC_USING_KLIBC
+ bool "Enable klibc utest cases"
+ select RT_USING_UTEST
+ default n