File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ ADD_TEST(qgis_sipify ${CMAKE_SOURCE_DIR}/tests/code_layout/test_sipify.sh)
8
8
ADD_TEST (qgis_sip_include ${CMAKE_SOURCE_DIR} /tests/code_layout/test_sip_include.sh)
9
9
ADD_TEST (qgis_sip_uptodate ${CMAKE_SOURCE_DIR} /tests/code_layout/test_sipfiles_uptodate.sh)
10
10
11
+ ADD_TEST (qgis_doxygen_order ${CMAKE_SOURCE_DIR} /tests/code_layout/test_doxygen_order.sh)
12
+
11
13
IF (WITH_APIDOC)
12
14
INCLUDE (UsePythonTest)
13
15
ADD_PYTHON_TEST(PyQgsDocCoverage ${CMAKE_SOURCE_DIR} /tests/code_layout/test_qgsdoccoverage.py)
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+
4
+ # check that returns are placed before note and since
5
+ output=$( unbuffer ag --noaffinity --file-search-regex ' \.h$' --multiline ' \\(note|since)[^\n]+(\n\s*\* [^\n]+)*\n\s*\* \\return' ${TRAVIS_BUILD_DIR} | tee /dev/stderr)
6
+ if [[ ! -z $output ]]; then
7
+ echo -e " \n\x1B[31m*** Docstring computation: \\ \return(s) should be placed before \\ \note and \\ since\x1B[0m"
8
+ exit 1
9
+ fi
You can’t perform that action at this time.
0 commit comments