[Lldb-commits] [lldb] 7e28a2c - Skip tests under asan

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 5 09:01:07 PDT 2023


Author: Adrian Prantl
Date: 2023-04-05T09:00:55-07:00
New Revision: 7e28a2c9f49d74b0dde02fd81b40f837f6140083

URL: https://github.com/llvm/llvm-project/commit/7e28a2c9f49d74b0dde02fd81b40f837f6140083
DIFF: https://github.com/llvm/llvm-project/commit/7e28a2c9f49d74b0dde02fd81b40f837f6140083.diff

LOG: Skip tests under asan

Added: 
    

Modified: 
    lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py
    lldb/test/API/macosx/universal64/TestUniversal64.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py b/lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py
index afd036524bfe5..f9bf008d9dc43 100644
--- a/lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py
+++ b/lldb/test/API/lang/c/full_lto_stepping/TestFullLtoStepping.py
@@ -8,6 +8,8 @@
 
 class TestFullLtoStepping(TestBase):
 
+    # The Makefile manually invokes clang.
+    @skipIfAsan
     @skipIf(compiler=no_match("clang"))
     @skipIf(compiler="clang", compiler_version=['<', '13.0'])
     @skipUnlessDarwin

diff  --git a/lldb/test/API/macosx/universal64/TestUniversal64.py b/lldb/test/API/macosx/universal64/TestUniversal64.py
index 80292c04dd123..2296ac8b8324c 100644
--- a/lldb/test/API/macosx/universal64/TestUniversal64.py
+++ b/lldb/test/API/macosx/universal64/TestUniversal64.py
@@ -16,6 +16,8 @@ def do_test(self):
         # The dynamic loader doesn't support fat64 executables so we can't
         # actually launch them here.
 
+    # The Makefile manually invokes clang.
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @skipIf(macos_version=["<", "11.0"])
@@ -24,6 +26,8 @@ def test_universal64_executable(self):
         self.build(debug_info="dsym")
         self.do_test()
 
+    # The Makefile manually invokes clang.
+    @skipIfAsan
     @skipUnlessDarwin
     @skipIfDarwinEmbedded
     @skipIf(macos_version=["<", "11.0"])


        


More information about the lldb-commits mailing list