Revert "Make compiler-rt/asan tests run with llvm-lit."

This reverts commit 7f84f62ef0.

Seems to be causing a bunch of compiler-rt test failures on
ppc64-linux bots.
This commit is contained in:
Amy Huang 2020-08-17 09:59:00 -07:00
parent 661c089a40
commit 51c152ca2a
3 changed files with 0 additions and 8 deletions

View File

@ -58,8 +58,6 @@ foreach(arch ${ASAN_TEST_ARCH})
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME}/lit.site.cfg.py
MAIN_CONFIG
${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py
)
list(APPEND ASAN_TESTSUITES ${CMAKE_CURRENT_BINARY_DIR}/${CONFIG_NAME})

View File

@ -63,11 +63,6 @@ config.substitutions.append(('%env_asan_opts=',
# Setup source root.
config.test_source_root = os.path.dirname(__file__)
# Setup executable root.
if hasattr(config, 'asan_lit_binary_dir') and \
config.asan_lit_binary_dir is not None:
config.test_exec_root = config.asan_lit_binary_dir
if config.host_os not in ['FreeBSD', 'NetBSD']:
libdl_flag = "-ldl"
else:

View File

@ -9,7 +9,6 @@ config.apple_platform = "@ASAN_TEST_APPLE_PLATFORM@"
config.apple_platform_min_deployment_target_flag = "@ASAN_TEST_MIN_DEPLOYMENT_TARGET_FLAG@"
config.asan_dynamic = @ASAN_TEST_DYNAMIC@
config.target_arch = "@ASAN_TEST_TARGET_ARCH@"
config.asan_lit_binary_dir = "@COMPILER_RT_BINARY_DIR@"
# Load common config for all compiler-rt lit tests.
lit_config.load_config(config, "@COMPILER_RT_BINARY_DIR@/test/lit.common.configured")