Adding new unit tests for library routines will make test/Kconfig messy. So just create a Kconfig file under lib.
Signed-off-by: AKASHI Takahiro <takahiro.aka...@linaro.org> --- test/Kconfig | 8 +------- test/lib/Kconfig | 7 +++++++ 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 test/lib/Kconfig diff --git a/test/Kconfig b/test/Kconfig index 48a0e501f88f..3a5aabedd0ef 100644 --- a/test/Kconfig +++ b/test/Kconfig @@ -6,13 +6,7 @@ menuconfig UNIT_TEST This does not require sandbox to be included, but it is most often used there. -config UT_LIB - bool "Unit tests for library functions" - depends on UNIT_TEST - default y - help - Enables the 'ut lib' command which tests library functions like - memcat(), memcyp(), memmove(). +source "test/lib/Kconfig" config UT_TIME bool "Unit tests for time functions" diff --git a/test/lib/Kconfig b/test/lib/Kconfig new file mode 100644 index 000000000000..a983bdcaa3f1 --- /dev/null +++ b/test/lib/Kconfig @@ -0,0 +1,7 @@ +config UT_LIB + bool "Unit tests for library functions" + depends on UNIT_TEST + default y + help + Enables the 'ut lib' command which tests library functions like + memcat(), memcyp(), memmove(). -- 2.21.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot