diff --git a/compiler-rt/test/ubsan/lit.common.cfg b/compiler-rt/test/ubsan/lit.common.cfg index 50e81defa79e..1ce111253ce3 100644 --- a/compiler-rt/test/ubsan/lit.common.cfg +++ b/compiler-rt/test/ubsan/lit.common.cfg @@ -53,5 +53,5 @@ if config.host_os not in ['Linux', 'Darwin']: # 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. -if config.target_arch != 'arm': +if config.target_arch.startswith('arm') == False: config.available_features.add('stable-runtime')