diff options
author | Brad King <brad.king@kitware.com> | 2016-11-08 16:40:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-08 16:40:20 (GMT) |
commit | 36f9f0f8a3e7640c12034fff8871b779cba9f0ce (patch) | |
tree | 6976fbc39e57b12f44e86906e5b6a565dcdc23fe /Tests | |
parent | 666bb0e3fa0d212c03f785bd9f6bc05d29925e1f (diff) | |
download | CMake-36f9f0f8a3e7640c12034fff8871b779cba9f0ce.zip CMake-36f9f0f8a3e7640c12034fff8871b779cba9f0ce.tar.gz CMake-36f9f0f8a3e7640c12034fff8871b779cba9f0ce.tar.bz2 |
Drop KWStyle checks in favor of clang-format and Git hooks
We now define code layout by clang-format and enforce whitespace with
Git hooks. There is no need to run KWStyle anymore, as all we used it
to check was line length anyway.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/CMakeLists.txt | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 5d72e5c..c0ffa46 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -3346,20 +3346,6 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release --test-command InterfaceLinkLibraries) list(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/InterfaceLinkLibraries") - if(CMAKE_USE_KWSTYLE AND KWSTYLE_EXECUTABLE) - # The "make StyleCheck" command line as a test. If the test fails, look - # for lines like "Error #0 (624) Line length exceed 88 (max=79)" in the - # output to find where the style errors are... - add_test(KWStyle ${KWSTYLE_EXECUTABLE} - -xml ${CMake_BINARY_DIR}/CMake.kws.xml - -o ${CMake_SOURCE_DIR}/Utilities/KWStyle/CMakeOverwrite.txt - -v - -D ${CMake_BINARY_DIR}/CMakeKWSFiles.txt - ) - set_tests_properties(KWStyle PROPERTIES - WORKING_DIRECTORY ${CMake_BINARY_DIR}/Utilities/KWStyle) - endif() - if(NOT CMake_TEST_EXTERNAL_CMAKE) add_subdirectory(CMakeTests) endif() |