summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-06-21 23:37:40 +0200
committerPřemysl Janouch <p@janouch.name>2018-06-21 23:46:03 +0200
commitb1a89f313a2424b5b06349c141876b68903a1c05 (patch)
tree82cc52779ee9e2cfa21c5acc75f2078f91768a4b /CMakeLists.txt
parentfab5115cd09a44244a7c681fa5ab79d047a94d4f (diff)
downloadxK-b1a89f313a2424b5b06349c141876b68903a1c05.tar.gz
xK-b1a89f313a2424b5b06349c141876b68903a1c05.tar.xz
xK-b1a89f313a2424b5b06349c141876b68903a1c05.zip
degesch: add static analysis for the logger
Caught two more occurences than I was able to find by just scanning the source, so the effort wasn't in vain.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5152bb6..0af2dcd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -180,6 +180,8 @@ endfunction (make_tests_for)
include (CTest)
if (BUILD_TESTING)
make_tests_for (degesch)
+ add_test (NAME custom-static-analysis
+ COMMAND ${PROJECT_SOURCE_DIR}/test-static)
endif (BUILD_TESTING)
# Various clang-based diagnostics, loads of fake positives and spam