summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-11-12 16:56:13 +0000
committerZachary Turner <zturner@google.com>2016-11-12 16:56:13 +0000
commitc351fb16079ae8c88e868960829107a823a86246 (patch)
tree6fe1814e43314b6d888f3ec9cde172816000c084 /lldb/packages/Python/lldbsuite/test
parent3852637005b1528aac2d2e12ac7c03cb6f300e26 (diff)
downloadbcm5719-llvm-c351fb16079ae8c88e868960829107a823a86246.tar.gz
bcm5719-llvm-c351fb16079ae8c88e868960829107a823a86246.zip
Disable sanitizer tests on Windows.
llvm-svn: 286722
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/decorators.py4
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 ba0d37827bb..ad7a9042b05 100644
--- a/lldb/packages/Python/lldbsuite/test/decorators.py
+++ b/lldb/packages/Python/lldbsuite/test/decorators.py
@@ -664,6 +664,8 @@ def skipUnlessThreadSanitizer(func):
compiler = os.path.basename(compiler_path)
if not compiler.startswith("clang"):
return "Test requires clang as compiler"
+ if lldbplatformutil.getPlatform() == 'windows':
+ return "TSAN tests not compatible with 'windows'"
# 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"
@@ -684,6 +686,8 @@ def skipUnlessAddressSanitizer(func):
compiler_path = self.getCompiler()
compiler = os.path.basename(compiler_path)
f = tempfile.NamedTemporaryFile()
+ if lldbplatformutil.getPlatform() == 'windows':
+ return "ASAN tests not compatible with 'windows'"
cmd = "echo 'int main() {}' | %s -x c -o %s -" % (compiler_path, f.name)
if os.popen(cmd).close() is not None:
return None # The compiler cannot compile at all, let's *not* skip the test
OpenPOWER on IntegriCloud