aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-08-03 15:48:26 +0200
committerRobert Tari <robert@tari.in>2021-08-04 17:06:27 +0200
commit3336228bccde7de599e7f56b4b8b67b8552c6a95 (patch)
tree8413072aa2b936f1bdf9ed07ad5c645472161245 /tests
parent3b76b0dece24700c74c226889bd7600f5814b8ac (diff)
downloadayatana-indicator-display-3336228bccde7de599e7f56b4b8b67b8552c6a95.tar.gz
ayatana-indicator-display-3336228bccde7de599e7f56b4b8b67b8552c6a95.tar.bz2
ayatana-indicator-display-3336228bccde7de599e7f56b4b8b67b8552c6a95.zip
tests/CMakeLists.txt: Adjust cppcheck call so that it succeeds with less --suppress parameters.
Diffstat (limited to 'tests')
-rw-r--r--tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index e2ea0e6..42e6cb2 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -31,7 +31,7 @@ endif()
add_compile_options(${CXX_WARNING_ARGS})
-add_test(cppcheck cppcheck --force --enable=all -USCHEMA_DIR --error-exitcode=2 --suppress=missingInclude --suppress=unusedFunction --library=qt --inline-suppr -I${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/tests)
+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)
add_subdirectory(integration)
add_subdirectory(unit)