Jelajahi Sumber

utest: integrate config option for utest of klibc

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Chen Wang 1 bulan lalu
induk
melakukan
532da3482b
3 mengubah file dengan 6 tambahan dan 5 penghapusan
  1. 2 0
      Kconfig.utestcases
  2. 0 5
      src/klibc/Kconfig
  3. 4 0
      src/klibc/utest/Kconfig

+ 2 - 0
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

+ 0 - 5
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

+ 4 - 0
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