Changeset View
Changeset View
Standalone View
Standalone View
compiler-rt/trunk/test/lit.common.cfg
Show First 20 Lines • Show All 401 Lines • ▼ Show 20 Lines | if platform.system() == 'Windows': | ||||
config.test_retry_attempts = 2 | config.test_retry_attempts = 2 | ||||
# Only run up to 3 64-bit sanitized processes simultaneously on Darwin. | # Only run up to 3 64-bit sanitized processes simultaneously on Darwin. | ||||
# Using more scales badly and hogs the system due to inefficient handling | # Using more scales badly and hogs the system due to inefficient handling | ||||
# of large mmap'd regions (terabytes) by the kernel. | # of large mmap'd regions (terabytes) by the kernel. | ||||
if platform.system() == 'Darwin': | if platform.system() == 'Darwin': | ||||
lit_config.parallelism_groups["darwin-64bit-sanitizer"] = 3 | lit_config.parallelism_groups["darwin-64bit-sanitizer"] = 3 | ||||
# The current implementation of the tools in sanitizer_common/ios_comamnds | # Force sequential execution when running tests on iOS devices. | ||||
# do not support parallel execution so force sequential execution of the | |||||
# tests on iOS devices. | |||||
if config.host_os == 'Darwin' and config.apple_platform != "osx" and not config.apple_platform.endswith("sim"): | if config.host_os == 'Darwin' and config.apple_platform != "osx" and not config.apple_platform.endswith("sim"): | ||||
lit_config.warning("iOS device test cases being run sequentially") | lit_config.warning("iOS device test cases being run sequentially") | ||||
lit_config.parallelism_groups["darwin-ios-device-sanitizer"] = 1 | lit_config.parallelism_groups["ios-device"] = 1 | ||||
config.parallelism_group = "ios-device" | |||||
# Multiple substitutions are necessary to support multiple shared objects used | # Multiple substitutions are necessary to support multiple shared objects used | ||||
# at once. | # at once. | ||||
# Note that substitutions with numbers have to be defined first to avoid | # Note that substitutions with numbers have to be defined first to avoid | ||||
# being subsumed by substitutions with smaller postfix. | # being subsumed by substitutions with smaller postfix. | ||||
for postfix in ["2", "1", ""]: | for postfix in ["2", "1", ""]: | ||||
if config.host_os == 'Darwin': | if config.host_os == 'Darwin': | ||||
config.substitutions.append( ("%ld_flags_rpath_exe" + postfix, '-Wl,-rpath,@executable_path/ %dynamiclib' + postfix) ) | config.substitutions.append( ("%ld_flags_rpath_exe" + postfix, '-Wl,-rpath,@executable_path/ %dynamiclib' + postfix) ) | ||||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |