diff options
author | Alex Lorenz <arphaman@gmail.com> | 2019-12-03 14:34:02 -0800 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2019-12-03 14:37:37 -0800 |
commit | ad871e42958ed94f0a27b0ba173cff4e00b5ee61 (patch) | |
tree | a8559bf9a2e331124751c38de68090ff7470c149 /compiler-rt/test | |
parent | f586fd44e4ba898ad7fed1a3c4f865fe8a3a8338 (diff) | |
download | bcm5719-llvm-ad871e42958ed94f0a27b0ba173cff4e00b5ee61.tar.gz bcm5719-llvm-ad871e42958ed94f0a27b0ba173cff4e00b5ee61.zip |
[compiler-rt] Disable fuzzer large.test when LLVM_ENABLE_EXPENSIVE_CHECKS=ON
This test is timing out on Green Dragon http://green.lab.llvm.org/green/job/clang-stage1-cmake-RA-expensive/
and looks like it's not executed on other bots with expensive checks
enabled
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-ubuntu
http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win
The test times out at the C++ source file takes too long to build (2+ hours on my machine), as
clang spends a lot of time in IR/MIR verifiers.
Differential Revision: https://reviews.llvm.org/D70024
Diffstat (limited to 'compiler-rt/test')
-rw-r--r-- | compiler-rt/test/CMakeLists.txt | 1 | ||||
-rw-r--r-- | compiler-rt/test/fuzzer/large.test | 2 | ||||
-rw-r--r-- | compiler-rt/test/lit.common.cfg.py | 3 | ||||
-rw-r--r-- | compiler-rt/test/lit.common.configured.in | 1 |
4 files changed, 7 insertions, 0 deletions
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt index 02ce6aabd69..f0330bcfe30 100644 --- a/compiler-rt/test/CMakeLists.txt +++ b/compiler-rt/test/CMakeLists.txt @@ -1,6 +1,7 @@ # Needed for lit support in standalone builds. include(AddLLVM) +pythonize_bool(LLVM_ENABLE_EXPENSIVE_CHECKS) configure_compiler_rt_lit_site_cfg( ${CMAKE_CURRENT_SOURCE_DIR}/lit.common.configured.in ${CMAKE_CURRENT_BINARY_DIR}/lit.common.configured) diff --git a/compiler-rt/test/fuzzer/large.test b/compiler-rt/test/fuzzer/large.test index b03b60fdb65..9aa7c46dc42 100644 --- a/compiler-rt/test/fuzzer/large.test +++ b/compiler-rt/test/fuzzer/large.test @@ -1,3 +1,5 @@ +UNSUPPORTED: expensive_checks + RUN: %cpp_compiler %S/LargeTest.cpp -o %t-LargeTest RUN: %run %t-LargeTest -runs=10000 diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py index 2a8d93166f6..00f0a1e93ab 100644 --- a/compiler-rt/test/lit.common.cfg.py +++ b/compiler-rt/test/lit.common.cfg.py @@ -477,6 +477,9 @@ if config.asan_shadow_scale: else: config.available_features.add("shadow-scale-3") +if config.expensive_checks: + config.available_features.add("expensive_checks") + # Propagate the LLD/LTO into the clang config option, so nothing else is needed. run_wrapper = [] target_cflags = [getattr(config, 'target_cflags', None)] diff --git a/compiler-rt/test/lit.common.configured.in b/compiler-rt/test/lit.common.configured.in index 5ca95efd530..b4862f74cdd 100644 --- a/compiler-rt/test/lit.common.configured.in +++ b/compiler-rt/test/lit.common.configured.in @@ -42,6 +42,7 @@ set_default("android_serial", "@ANDROID_SERIAL_FOR_TESTING@") set_default("android_files_to_push", []) set_default("have_rpc_xdr_h", @HAVE_RPC_XDR_H@) set_default("gwp_asan", @COMPILER_RT_HAS_GWP_ASAN_PYBOOL@) +set_default("expensive_checks", @LLVM_ENABLE_EXPENSIVE_CHECKS_PYBOOL@) config.available_features.add('target-is-%s' % config.target_arch) if config.enable_per_target_runtime_dir: |