aboutsummaryrefslogtreecommitdiff
path: root/test/xray/lit.cfg
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-29 20:58:54 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-29 20:58:54 +0000
commit3dfdcbdf6f1f1ecb2acd9c1fb600d5ebf11219e7 (patch)
treea6fc26793396a29311adcc1d85ac4086c7010cfc /test/xray/lit.cfg
parent5894cadf20b9970848068ff54fa4e2bfd0a9683b (diff)
downloadsrc-3dfdcbdf6f1f1ecb2acd9c1fb600d5ebf11219e7.tar.gz
src-3dfdcbdf6f1f1ecb2acd9c1fb600d5ebf11219e7.zip
Notes
Notes: svn path=/vendor/compiler-rt/dist/; revision=312960 svn path=/vendor/compiler-rt/compiler-rt-release_40-r293807/; revision=313060; tag=vendor/compiler-rt/compiler-rt-release_40-r293807
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.