Suppress extraneous clang-tidy output
This commit is contained in:
parent
98df0fe4c9
commit
011d4ef512
@ -28,7 +28,7 @@ if(NOT RUN_CLANG_TIDY)
|
||||
endif()
|
||||
|
||||
# Run
|
||||
execute_process(COMMAND ${Python_EXECUTABLE} ${RUN_CLANG_TIDY} -clang-tidy-binary ${CLANG_TIDY_EXECUTABLE} -p ${PROJECT_BINARY_DIR} RESULTS_VARIABLE EXIT_CODE)
|
||||
execute_process(COMMAND ${Python_EXECUTABLE} ${RUN_CLANG_TIDY} -clang-tidy-binary ${CLANG_TIDY_EXECUTABLE} -quiet -p ${PROJECT_BINARY_DIR} RESULTS_VARIABLE EXIT_CODE)
|
||||
if(NOT EXIT_CODE STREQUAL 0)
|
||||
message(FATAL_ERROR "Analysis failed")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user