diff options
author | Serge Rogatch <srogatch@accesssoftek.com> | 2017-01-17 11:53:38 +0000 |
---|---|---|
committer | Serge Rogatch <srogatch@accesssoftek.com> | 2017-01-17 11:53:38 +0000 |
commit | 962ff04019e1e7bca19d61a6b96478f8e86a7176 (patch) | |
tree | e7e4facde5c551b566a9c7e94c3abc9f7412e2e8 /test/xray/lit.cfg | |
parent | b0495c3d6140dd485b0d1ef21b44dc9f32b27a50 (diff) |
[XRay][Arm] Enable back XRay testing on Arm32 and fix the failing tests
Summary:
Testing of XRay was occasionally disabled on 32-bit Arm targets (someone assumed that XRay was supported on 64-bit targets only). This patch should fix that problem. Also here the instruction&data cache incoherency problem is fixed, because it may be causing a test to fail.
This patch is one of a series: see also
- https://reviews.llvm.org/D28624
Reviewers: dberris, rengolin
Reviewed By: rengolin
Subscribers: llvm-commits, aemerson, rengolin, dberris, iid_iunknown
Differential Revision: https://reviews.llvm.org/D28623
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@292211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/xray/lit.cfg')
-rw-r--r-- | test/xray/lit.cfg | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/xray/lit.cfg b/test/xray/lit.cfg index 5d030e101..571fe91c9 100644 --- a/test/xray/lit.cfg +++ b/test/xray/lit.cfg @@ -30,7 +30,9 @@ 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 config.host_arch.find('64') == -1 and config.host_arch.find('arm') == -1: config.unsupported = True # Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL |