Skip to content

Commit cc8b0d9

Browse files
unicornxRbb666
authored andcommitted
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>
1 parent 62bc4ba commit cc8b0d9

File tree

1 file changed

+1
-0
lines changed
  • examples/utest/testcases/drivers/serial_bypass

1 file changed

+1
-0
lines changed

examples/utest/testcases/drivers/serial_bypass/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ menu "Serial-Bypass Testcase"
33
config UTEST_SERIAL_BYPASS
44
bool "Serial testcase"
55
default n
6+
depends on RT_USING_SERIAL_BYPASS
67

78
endmenu

0 commit comments

Comments
 (0)