forked from OSchip/llvm-project
Let @skipUnlessThreadSanitizer imply @skipIfAsan
Don't run tests that use thread sanitizer inside an address-sanitized LLDB. The tests don't support that configuration. Incidentally they were skipped on green dragon for a different reason, so this hasn't come up there before.
This commit is contained in:
parent
40c08367e4
commit
31a8e27e18
|
@ -719,6 +719,9 @@ def skipUnlessThreadSanitizer(func):
|
|||
"""Decorate the item to skip test unless Clang -fsanitize=thread is supported."""
|
||||
|
||||
def is_compiler_clang_with_thread_sanitizer(self):
|
||||
if is_running_under_asan():
|
||||
return "Thread sanitizer tests are disabled when runing under ASAN"
|
||||
|
||||
compiler_path = self.getCompiler()
|
||||
compiler = os.path.basename(compiler_path)
|
||||
if not compiler.startswith("clang"):
|
||||
|
|
Loading…
Reference in New Issue