diff options
author | Todd Fiala <todd.fiala@gmail.com> | 2016-10-06 21:30:33 +0000 |
---|---|---|
committer | Todd Fiala <todd.fiala@gmail.com> | 2016-10-06 21:30:33 +0000 |
commit | 4c1ed9d3cae8621238bc42ea59fc1e3d990cb7ff (patch) | |
tree | d7c2d5e7d65c63c8e88f0d809cb8e0d774acff31 /lldb/packages/Python/lldbsuite | |
parent | cc152ac794df326603c8eb81969985996a31f73e (diff) | |
download | bcm5719-llvm-4c1ed9d3cae8621238bc42ea59fc1e3d990cb7ff.tar.gz bcm5719-llvm-4c1ed9d3cae8621238bc42ea59fc1e3d990cb7ff.zip |
disable TSAN tests on macOS i386
These are erroring out on macOS i386.
Tracked by:
rdar://28659145
llvm-svn: 283497
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/decorators.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py index 4d78f16f9ae..ceb9f520621 100644 --- a/lldb/packages/Python/lldbsuite/test/decorators.py +++ b/lldb/packages/Python/lldbsuite/test/decorators.py @@ -5,6 +5,7 @@ from __future__ import print_function from distutils.version import LooseVersion, StrictVersion from functools import wraps import os +import platform import re import sys import tempfile @@ -667,6 +668,9 @@ def skipUnlessThreadSanitizer(func): compiler = os.path.basename(compiler_path) if not compiler.startswith("clang"): return "Test requires clang as compiler" + # rdar://28659145 - TSAN tests don't look like they're supported on i386 + if self.getArchitecture() == 'i386' and platform.system() == 'Darwin': + return "TSAN tests not compatible with i386 targets" f = tempfile.NamedTemporaryFile() cmd = "echo 'int main() {}' | %s -x c -o %s -" % (compiler_path, f.name) if os.popen(cmd).close() is not None: |