diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-07-17 01:18:04 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-07-22 02:34:30 +0000 |
commit | f627a26a7b1c3619ba66f84b87092ff8ba7a95b6 (patch) | |
tree | c72c950fab473dc9bec4b5329d251b790e55443d /CMakeLists.txt | |
parent | 7245ac11ef9be2420c8356c12acc79f93ea211bb (diff) |
Run Clang global static analysis on Travis.
This uses a single .cc file containing almost all the code in the
repository to perform whole program analysis.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 181d4155..92c7beb9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -104,7 +104,7 @@ if(TRACE) | |||
104 | endif() | 104 | endif() |
105 | 105 | ||
106 | if(MIN_LOGGER_LEVEL) | 106 | if(MIN_LOGGER_LEVEL) |
107 | add_definitions(-DMIN_LOGGER_LEVEL=LOG_${MIN_LOGGER_LEVEL}) | 107 | add_definitions(-DMIN_LOGGER_LEVEL=LOGGER_LEVEL_${MIN_LOGGER_LEVEL}) |
108 | endif() | 108 | endif() |
109 | 109 | ||
110 | option(USE_IPV6 "Use IPv6 in tests" ON) | 110 | option(USE_IPV6 "Use IPv6 in tests" ON) |
@@ -403,14 +403,6 @@ function(auto_test target) | |||
403 | endif() | 403 | endif() |
404 | endfunction() | 404 | endfunction() |
405 | 405 | ||
406 | if(BUILD_TOXAV) | ||
407 | add_definitions(-D__STDC_LIMIT_MACROS=1) | ||
408 | add_executable(auto_monolith_test ${CPUFEATURES} | ||
409 | auto_tests/monolith_test.cc) | ||
410 | target_link_libraries(auto_monolith_test ${toxcore_LINK_MODULES}) | ||
411 | add_test(NAME monolith COMMAND ${CROSSCOMPILING_EMULATOR} auto_monolith_test) | ||
412 | endif() | ||
413 | |||
414 | auto_test(TCP) | 406 | auto_test(TCP) |
415 | auto_test(bootstrap) | 407 | auto_test(bootstrap) |
416 | auto_test(conference) | 408 | auto_test(conference) |