diff options
author | Maxim Ostapenko <chefmax7@gmail.com> | 2017-04-13 12:00:56 +0000 |
---|---|---|
committer | Maxim Ostapenko <chefmax7@gmail.com> | 2017-04-13 12:00:56 +0000 |
commit | b84477f989c2bc595ba252f22bc346bdc8de597c (patch) | |
tree | 12c74681dfb0013bd6af0ea2b4ca8c9e2e6babfb /test/asan/lit.cfg | |
parent | a1687c29181cb02ce005689e09613af28de45de0 (diff) |
[lsan] Reenable lsan tests on ARM bots
This patch addresses pr32636. Enable lsan tests on ARM bots filtering out Thumb targets.
Tested locally on ARM Arndale board in two configurations:
1) CFLAGS="-march=armv7-a"
Testing Time: 37.57s
Expected Passes : 69
Unsupported Tests : 7
2) CFLAGS="-march=armv7-a -mthumb"
Testing Time: 0.16s
Unsupported Tests : 76
Differential Revision: https://reviews.llvm.org/D32007
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@300194 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/lit.cfg')
-rw-r--r-- | test/asan/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/asan/lit.cfg b/test/asan/lit.cfg index 9093b44c1..7d684a1ae 100644 --- a/test/asan/lit.cfg +++ b/test/asan/lit.cfg @@ -213,7 +213,7 @@ if config.target_arch != 'arm' and config.target_arch != 'armhf' and config.targ config.available_features.add('stable-runtime') # Fast unwinder doesn't work with Thumb -if not re.match('-mthumb', config.target_cflags): +if re.search('mthumb', config.target_cflags) is not None: config.available_features.add('fast-unwinder-works') # Turn on leak detection on 64-bit Linux. |