Changeset View
Changeset View
Standalone View
Standalone View
compiler-rt/trunk/test/lit.common.cfg
Show First 20 Lines • Show All 314 Lines • ▼ Show 20 Lines | if config.host_os == 'Darwin': | ||||
config.default_sanitizer_opts += ['log_to_syslog=0'] | config.default_sanitizer_opts += ['log_to_syslog=0'] | ||||
elif config.android: | elif config.android: | ||||
config.default_sanitizer_opts += ['abort_on_error=0'] | config.default_sanitizer_opts += ['abort_on_error=0'] | ||||
# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL | # Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL | ||||
# because the test hangs or fails on one configuration and not the other. | # because the test hangs or fails on one configuration and not the other. | ||||
if config.android or (config.target_arch not in ['arm', 'armhf', 'aarch64']): | if config.android or (config.target_arch not in ['arm', 'armhf', 'aarch64']): | ||||
config.available_features.add('stable-runtime') | config.available_features.add('stable-runtime') | ||||
if config.asan_shadow_scale: | |||||
config.available_features.add("shadow-scale-%s" % config.asan_shadow_scale) | |||||
else: | |||||
config.available_features.add("shadow-scale-3") |