We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adb312f commit 0614a26Copy full SHA for 0614a26
tests/yanglint/CMakeLists.txt
@@ -23,8 +23,11 @@ endfunction(add_yanglint_test)
23
if(ENABLE_TESTS)
24
# tests of interactive mode using tclsh
25
find_program(PATH_TCLSH NAMES tclsh)
26
+ find_program(PATH_EXPECT NAMES expect)
27
if(NOT PATH_TCLSH)
- message(WARNING "'tclsh' not found! The yanglint(1) interactive tests will not be available.")
28
+ message(WARNING "tclsh not found, yanglint(1) interactive tests will not be available.")
29
+ elseif(NOT PATH_EXPECT)
30
+ message(WARNING "expect not found, yanglint(1) interactive tests will not be available.")
31
else()
32
if(YANGLINT_INTERACTIVE)
33
add_yanglint_test(NAME interactive VIA tclsh SCRIPT interactive/all.tcl)
0 commit comments