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 0614a26 commit 4d3259cCopy full SHA for 4d3259c
tests/yangre/CMakeLists.txt
@@ -1,6 +1,9 @@
1
find_program(PATH_TCLSH NAMES tclsh)
2
+find_program(PATH_EXPECT NAMES expect)
3
if(NOT PATH_TCLSH)
- message(WARNING "'tclsh' not found! The yangre test will not be available.")
4
+ message(WARNING "tclsh not found, yanglint(1) interactive tests will not be available.")
5
+elseif(NOT PATH_EXPECT)
6
+ message(WARNING "expect not found, yanglint(1) interactive tests will not be available.")
7
else()
8
add_test(NAME "yangre" COMMAND "tclsh" "${CMAKE_CURRENT_SOURCE_DIR}/all.tcl")
9
set_property(TEST "yangre" APPEND PROPERTY ENVIRONMENT "TESTS_DIR=${CMAKE_CURRENT_SOURCE_DIR}")
0 commit comments