[Lldb-commits] [lldb] r320377 - dotest.py: Correctly annotate lldbinline tests with debug info categories

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 11 07:28:21 PST 2017


Author: labath
Date: Mon Dec 11 07:28:21 2017
New Revision: 320377

URL: http://llvm.org/viewvc/llvm-project?rev=320377&view=rev
Log:
dotest.py: Correctly annotate lldbinline tests with debug info categories

This enables one to run all dwo tests with dotest.py --category dwo, or
skip them with --skip-category.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py

Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py?rev=320377&r1=320376&r2=320377&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbinline.py Mon Dec 11 07:28:21 2017
@@ -134,25 +134,28 @@ class InlineTest(TestBase):
         makefile.flush()
         makefile.close()
 
-    @skipUnlessDarwin
+    @add_test_categories(["dsym"])
     def __test_with_dsym(self):
         self.using_dsym = True
         self.BuildMakefile()
         self.buildDsym()
         self.do_test()
 
+    @add_test_categories(["dwarf"])
     def __test_with_dwarf(self):
         self.using_dsym = False
         self.BuildMakefile()
         self.buildDwarf()
         self.do_test()
 
+    @add_test_categories(["dwo"])
     def __test_with_dwo(self):
         self.using_dsym = False
         self.BuildMakefile()
         self.buildDwo()
         self.do_test()
 
+    @add_test_categories(["gmodules"])
     def __test_with_gmodules(self):
         self.using_dsym = False
         self.BuildMakefile()




More information about the lldb-commits mailing list