aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-05-04 09:01:16 +0000
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-05-17 12:09:18 +0200
commit8c4b2d9c01ae3d526bde00d5ca8925ced053f9fc (patch)
tree23e358b9e68b4221cb021ed142dcc3e5fd3dfe1c /tests/CMakeLists.txt
parentf1dde7a9245a257eac50c902b2080dcd25ba22c5 (diff)
downloadayatana-indicator-display-8c4b2d9c01ae3d526bde00d5ca8925ced053f9fc.tar.gz
ayatana-indicator-display-8c4b2d9c01ae3d526bde00d5ca8925ced053f9fc.tar.bz2
ayatana-indicator-display-8c4b2d9c01ae3d526bde00d5ca8925ced053f9fc.zip
cppcheck: Suppress constParameterCallback.
See https://sourceforge.net/p/cppcheck/discussion/general/thread/6046fc0f43/
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 81e083c..531f58b 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -28,7 +28,7 @@ endif()
add_compile_options(${CXX_WARNING_ARGS})
-add_test(cppcheck cppcheck --enable=all -USCHEMA_DIR --error-exitcode=2 --inline-suppr --library=qt -I${CMAKE_SOURCE_DIR} -i${CMAKE_SOURCE_DIR}/tests/utils/qmain.cpp -i${CMAKE_SOURCE_DIR}/tests/gmock ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/tests --suppress=missingIncludeSystem --suppress=uninitDerivedMemberVar --suppress=unmatchedSuppression --suppress=constParameter --suppress=unusedFunction --suppress=uselessOverride)
+add_test(cppcheck cppcheck --enable=all -USCHEMA_DIR --error-exitcode=2 --inline-suppr --library=qt -I${CMAKE_SOURCE_DIR} -i${CMAKE_SOURCE_DIR}/tests/utils/qmain.cpp -i${CMAKE_SOURCE_DIR}/tests/gmock ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/tests --suppress=missingIncludeSystem --suppress=uninitDerivedMemberVar --suppress=unmatchedSuppression --suppress=constParameter --suppress=constParameterCallback --suppress=unusedFunction --suppress=uselessOverride)
add_subdirectory (unit)