build REFACTOR rename test option to unify with other projects
diff --git a/tools/lint/CMakeLists.txt b/tools/lint/CMakeLists.txt
index f09a3b1..c64d0e7 100644
--- a/tools/lint/CMakeLists.txt
+++ b/tools/lint/CMakeLists.txt
@@ -39,7 +39,7 @@
     set_property(TEST ${TEST_NAME} APPEND PROPERTY ENVIRONMENT "YANGLINT=${PROJECT_BINARY_DIR}/yanglint")
 endfunction(add_yanglint_test)
 
-if(ENABLE_BUILD_TESTS)
+if(ENABLE_TESTS)
     # tests of non-interactive mode using shunit2
     find_program(PATH_SHUNIT NAMES shunit2)
     if(NOT PATH_SHUNIT)