aboutsummaryrefslogtreecommitdiff
path: root/test/xray/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'test/xray/lit.cfg')
-rw-r--r--test/xray/lit.cfg8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/xray/lit.cfg b/test/xray/lit.cfg
index 5d030e101452..9142ad13618c 100644
--- a/test/xray/lit.cfg
+++ b/test/xray/lit.cfg
@@ -30,8 +30,14 @@ config.substitutions.append(
# Default test suffixes.
config.suffixes = ['.c', '.cc', '.cpp']
-if config.host_os not in ['Linux'] or config.host_arch.find('64') == -1:
+if config.host_os not in ['Linux']:
config.unsupported = True
+elif '64' not in config.host_arch:
+ if 'arm' in config.host_arch:
+ if '-mthumb' in config.target_cflags:
+ config.unsupported = True
+ else:
+ config.unsupported = True
# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL
# e.g. because the test sometimes passes, sometimes fails.