Format test code, too

testing/bash_completion_debugging
Martchus 6 years ago
parent 59e20b1043
commit 04c1f98361
  1. 7
      cmake/modules/BasicConfig.cmake

@ -192,7 +192,12 @@ endif()
if(NOT META_NO_TIDY AND EXISTS "${CLANG_FORMAT_RULES}")
find_program(CLANG_FORMAT_BIN clang-format)
if(CLANG_FORMAT_BIN)
set(FORMATABLE_FILES ${HEADER_FILES} ${SRC_FILES} ${WIDGETS_HEADER_FILES} ${WIDGETS_SRC_FILES} ${QML_HEADER_FILES} ${QML_SRC_FILES})
set(FORMATABLE_FILES
${HEADER_FILES} ${SRC_FILES}
${TEST_HEADER_FILES} ${TEST_SRC_FILES}
${WIDGETS_HEADER_FILES} ${WIDGETS_SRC_FILES}
${QML_HEADER_FILES} ${QML_SRC_FILES}
)
if(FORMATABLE_FILES)
list(REMOVE_ITEM FORMATABLE_FILES "")

Loading…
Cancel
Save