2020-11-11 11:15:34 +01:00
|
|
|
if(WITH_ASTYLE)
|
|
|
|
add_test(qgis_indentation ${CMAKE_SOURCE_DIR}/scripts/verify_indentation.sh)
|
|
|
|
endif()
|
2017-06-02 21:39:44 +02:00
|
|
|
|
2020-11-11 11:15:34 +01:00
|
|
|
add_test(qgis_banned_keywords ${CMAKE_SOURCE_DIR}/tests/code_layout/test_banned_keywords.sh)
|
|
|
|
add_test(qgis_licenses ${CMAKE_SOURCE_DIR}/tests/code_layout/test_licenses.sh)
|
|
|
|
add_test(qgis_spelling ${CMAKE_SOURCE_DIR}/scripts/spell_check/spell_test.sh)
|
|
|
|
add_test(qgis_defwindowtitle ${CMAKE_SOURCE_DIR}/tests/code_layout/test_defwindowtitle.sh)
|
2021-02-25 09:52:36 +10:00
|
|
|
add_test(qgis_qvariant_no_brace_init ${CMAKE_SOURCE_DIR}/tests/code_layout/test_qvariant_no_brace_init.sh)
|
2017-06-02 21:39:44 +02:00
|
|
|
|
2020-11-11 11:15:34 +01:00
|
|
|
add_test(qgis_shellcheck ${CMAKE_SOURCE_DIR}/tests/code_layout/test_shellcheck.sh)
|
|
|
|
add_test(qgis_sipify ${CMAKE_SOURCE_DIR}/tests/code_layout/test_sipify.sh)
|
|
|
|
add_test(qgis_sip_include ${CMAKE_SOURCE_DIR}/tests/code_layout/test_sip_include.sh)
|
|
|
|
add_test(qgis_sip_uptodate ${CMAKE_SOURCE_DIR}/tests/code_layout/test_sipfiles.sh) # spellok
|
2017-06-02 21:39:44 +02:00
|
|
|
|
2020-11-11 11:15:34 +01:00
|
|
|
add_test(qgis_doxygen_order ${CMAKE_SOURCE_DIR}/tests/code_layout/test_doxygen_layout.sh)
|
2017-12-16 08:51:36 -04:00
|
|
|
|
2020-11-11 11:15:34 +01:00
|
|
|
if (WITH_APIDOC)
|
|
|
|
include(UsePythonTest)
|
2017-06-02 21:39:44 +02:00
|
|
|
ADD_PYTHON_TEST(PyQgsDocCoverage ${CMAKE_SOURCE_DIR}/tests/code_layout/test_qgsdoccoverage.py)
|
2020-11-11 11:15:34 +01:00
|
|
|
if (WITH_CORE)
|
2017-06-02 21:39:44 +02:00
|
|
|
ADD_PYTHON_TEST(PyQgsSipCoverage ${CMAKE_SOURCE_DIR}/tests/code_layout/test_qgssipcoverage.py)
|
2020-11-11 11:15:34 +01:00
|
|
|
endif()
|
|
|
|
endif()
|