diff options
author | Robert Tari <robert@tari.in> | 2021-10-23 23:56:14 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2021-10-25 16:50:23 +0200 |
commit | 215bf8fbfebdbedd4431fdda92f1320be6601563 (patch) | |
tree | e68630e1df0d76a83d6bc20c8124922919e05f2b /tests | |
parent | db6cef87656a54dafa3fea9c588f54281512e665 (diff) | |
download | ayatana-indicator-display-215bf8fbfebdbedd4431fdda92f1320be6601563.tar.gz ayatana-indicator-display-215bf8fbfebdbedd4431fdda92f1320be6601563.tar.bz2 ayatana-indicator-display-215bf8fbfebdbedd4431fdda92f1320be6601563.zip |
tests/CMakeFiles.txt: Suppress constParameter cppcheck
- Making the problematic parts "const" produce even more warnings, so I'm considering this a false positive and disabling it
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 76ebd56..4c1b9b8 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -29,7 +29,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) +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) add_subdirectory(integration) add_subdirectory(unit) |