diff options
author | Vitaly Buka <vitalybuka@google.com> | 2019-09-12 01:35:11 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2019-09-12 01:35:11 +0000 |
commit | 6e8c21857ecb49b282c2ee4df434f27469647e5e (patch) | |
tree | 70403247d8813e72ec6aa46e1ca7b0c878688ff8 | |
parent | a3cd67c0078607fb928bd5b5b0187e450fc7bd23 (diff) | |
download | bcm5719-llvm-6e8c21857ecb49b282c2ee4df434f27469647e5e.tar.gz bcm5719-llvm-6e8c21857ecb49b282c2ee4df434f27469647e5e.zip |
[compiler-rt] Run cpplint only for check-sanitizer
llvm-svn: 371703
-rw-r--r-- | compiler-rt/test/CMakeLists.txt | 3 | ||||
-rw-r--r-- | compiler-rt/test/sanitizer_common/CMakeLists.txt | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt index 0d9ac552888..02ce6aabd69 100644 --- a/compiler-rt/test/CMakeLists.txt +++ b/compiler-rt/test/CMakeLists.txt @@ -26,9 +26,6 @@ if(NOT ANDROID) list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS KillTheDoctor) endif() endif() - if(CMAKE_HOST_UNIX) - list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS SanitizerLintCheck) - endif() endif() function(compiler_rt_test_runtime runtime) diff --git a/compiler-rt/test/sanitizer_common/CMakeLists.txt b/compiler-rt/test/sanitizer_common/CMakeLists.txt index 48fccf05855..fcd651ebe42 100644 --- a/compiler-rt/test/sanitizer_common/CMakeLists.txt +++ b/compiler-rt/test/sanitizer_common/CMakeLists.txt @@ -1,6 +1,11 @@ set(SANITIZER_COMMON_LIT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}) set(SANITIZER_COMMON_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS}) + +if(CMAKE_HOST_UNIX) + list(APPEND SANITIZER_COMMON_TEST_DEPS SanitizerLintCheck) +endif() + set(SANITIZER_COMMON_TESTSUITES) # FIXME(dliew): We should switch to COMPILER_RT_SANITIZERS_TO_BUILD instead of |