forked from OSchip/llvm-project
[compiler-rt][fuzzer] Disable 2 tests for Arm Thumb builds
These tests appear to be causing timeouts on our silent Thumbv7 bot: https://lab.llvm.org/staging/#/builders/162/builds/260 It is possible they would complete given enough time. value-profile-switch seems to take a long time even on a powerful Armv8 machine.
This commit is contained in:
parent
3885879046
commit
df3d121bb9
|
@ -3,6 +3,10 @@
|
|||
# TODO: Find out why test fails on Darwin with -O2.
|
||||
# Binaries must end in .exe or else symbolization will break on Windows because of how periods
|
||||
# in expansion of %t cause the compiler to overwrite .lib and .exp files.
|
||||
|
||||
# Test does not complete on Armv7 Thumb build bot
|
||||
UNSUPPORTED: thumb
|
||||
|
||||
RUN: %cpp_compiler -O0 %S/SimpleTest.cpp -o %t-SimpleTest.exe -mllvm -use-unknown-locations=Disable
|
||||
RUN: %cpp_compiler -O0 %S/ShrinkControlFlowTest.cpp -o %t-ShrinkControlFlowTest.exe
|
||||
|
||||
|
|
|
@ -58,6 +58,9 @@ if sys.platform.startswith('linux'):
|
|||
else:
|
||||
lit_config.note('linux feature unavailable')
|
||||
|
||||
if config.arm_thumb:
|
||||
config.available_features.add('thumb')
|
||||
|
||||
config.substitutions.append(('%build_dir', config.cmake_binary_dir))
|
||||
libfuzzer_src_root = os.path.join(config.compiler_rt_src_root, "lib", "fuzzer")
|
||||
config.substitutions.append(('%libfuzzer_src', libfuzzer_src_root))
|
||||
|
|
|
@ -7,6 +7,7 @@ config.stdlib = "@LIBFUZZER_TEST_STDLIB@"
|
|||
config.apple_platform = "@LIBFUZZER_TEST_APPLE_PLATFORM@"
|
||||
config.apple_platform_min_deployment_target_flag = "@LIBFUZZER_TEST_MIN_DEPLOYMENT_TARGET_FLAG@"
|
||||
config.name_suffix = "@LIBFUZZER_TEST_CONFIG_SUFFIX@"
|
||||
config.arm_thumb = "@COMPILER_RT_ARM_THUMB@"
|
||||
|
||||
config.osx_sysroot_flag = "@OSX_SYSROOT_FLAG@"
|
||||
config.cmake_binary_dir = "@CMAKE_BINARY_DIR@"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# Test does not complete on Armv7 Thumb build bot
|
||||
UNSUPPORTED: thumb
|
||||
UNSUPPORTED: ios
|
||||
CHECK: BINGO
|
||||
RUN: %cpp_compiler %S/SwitchTest.cpp -o %t-SwitchTest
|
||||
|
|
Loading…
Reference in New Issue