utest: serial: bypass: add depends on RT_USING_SERIAL_BYPASS

Add dependent of RT_USING_SERIAL_BYPASS in Kconfig to
make sure utest for serial-bypass is only available
when RT_USING_SERIAL_BYPASS is enabled.

Otherwise building of utestcases failed when UTEST_SERIAL_BYPASS
is enabled.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
This commit is contained in:
Chen Wang
2025-10-10 15:26:46 +08:00
committed by R b b666
parent 62bc4ba774
commit cc8b0d9f39

View File

@@ -3,5 +3,6 @@ menu "Serial-Bypass Testcase"
config UTEST_SERIAL_BYPASS
bool "Serial testcase"
default n
depends on RT_USING_SERIAL_BYPASS
endmenu