[Lldb-commits] [lldb] 5f2e8f5 - [lldb] Mark TestTsanBasic and TestUbsanBasic as "no debug info" tests

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 30 12:42:35 PST 2021


Author: Jonas Devlieghere
Date: 2021-11-30T12:40:50-08:00
New Revision: 5f2e8f579697492fab572796f99bc713f349e6fe

URL: https://github.com/llvm/llvm-project/commit/5f2e8f579697492fab572796f99bc713f349e6fe
DIFF: https://github.com/llvm/llvm-project/commit/5f2e8f579697492fab572796f99bc713f349e6fe.diff

LOG: [lldb] Mark TestTsanBasic and TestUbsanBasic as "no debug info" tests

Speed up testing by not rerunning the test for all debug info variants.

Added: 
    

Modified: 
    lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py
    lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py b/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py
index e783ae0e8d893..17684050572ba 100644
--- a/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py
+++ b/lldb/test/API/functionalities/tsan/basic/TestTsanBasic.py
@@ -20,6 +20,7 @@ class TsanBasicTestCase(TestBase):
     @skipIfFreeBSD  # llvm.org/pr21136 runtimes not yet available by default
     @skipIfRemote
     @skipUnlessThreadSanitizer
+    @no_debug_info_test
     def test(self):
         self.build()
         self.tsan_tests()

diff  --git a/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py b/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py
index 23f1296bf12e7..038b37b57d568 100644
--- a/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py
+++ b/lldb/test/API/functionalities/ubsan/basic/TestUbsanBasic.py
@@ -15,6 +15,7 @@ class UbsanBasicTestCase(TestBase):
     mydir = TestBase.compute_mydir(__file__)
 
     @skipUnlessUndefinedBehaviorSanitizer
+    @no_debug_info_test
     def test(self):
         self.build()
         self.ubsan_tests()


        


More information about the lldb-commits mailing list