[Lldb-commits] [lldb] r176061 - Fix the .categories, it had "dataformatter" not "dataformatters".

Jim Ingham jingham at apple.com
Mon Feb 25 15:51:06 PST 2013


Author: jingham
Date: Mon Feb 25 17:51:06 2013
New Revision: 176061

URL: http://llvm.org/viewvc/llvm-project?rev=176061&view=rev
Log:
Fix the .categories, it had "dataformatter" not "dataformatters".
Remove the getCategory from TestDataFormatterObjC.py, since it was superceded by the .categories file, 
and didn't work anyway (getCategories currently has to be a method on the test class, not on the test.)
Add a "basic_process" category, and start to find some tests for simple process running sniff tests.

Modified:
    lldb/trunk/test/dotest.py
    lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/.categories
    lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
    lldb/trunk/test/lang/c/stepping/TestStepAndBreakpoints.py

Modified: lldb/trunk/test/dotest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/dotest.py?rev=176061&r1=176060&r2=176061&view=diff
==============================================================================
--- lldb/trunk/test/dotest.py (original)
+++ lldb/trunk/test/dotest.py Mon Feb 25 17:51:06 2013
@@ -79,7 +79,8 @@ validCategories = {
 'dataformatters':'Tests related to the type command and the data formatters subsystem',
 'expression':'Tests related to the expression parser',
 'objc':'Tests related to the Objective-C programming language support',
-'pyapi':'Tests related to the Python API'
+'pyapi':'Tests related to the Python API',
+'basic_process': 'Basic process execution sniff tests.'
 }
 
 # The test suite.

Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/.categories
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/.categories?rev=176061&r1=176060&r2=176061&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/.categories (original)
+++ lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/.categories Mon Feb 25 17:51:06 2013
@@ -1 +1 @@
-dataformatter,objc
+dataformatters,objc

Modified: lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py?rev=176061&r1=176060&r2=176061&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py (original)
+++ lldb/trunk/test/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjC.py Mon Feb 25 17:51:06 2013
@@ -90,8 +90,6 @@ class ObjCDataFormatterTestCase(TestBase
         """Test common cases of expression parser <--> formatters interaction."""
         self.buildDsym()
         self.expr_objc_data_formatter_commands()
-        def getCategories(self):
-            return ['dataformatters','expression','objc']
 
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @dwarf_test
@@ -99,8 +97,6 @@ class ObjCDataFormatterTestCase(TestBase
         """Test common cases of expression parser <--> formatters interaction."""
         self.buildDwarf()
         self.expr_objc_data_formatter_commands()
-        def getCategories(self):
-            return ['dataformatters','expression','objc']
 
     def setUp(self):
         # Call super's setUp().

Modified: lldb/trunk/test/lang/c/stepping/TestStepAndBreakpoints.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/stepping/TestStepAndBreakpoints.py?rev=176061&r1=176060&r2=176061&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/stepping/TestStepAndBreakpoints.py (original)
+++ lldb/trunk/test/lang/c/stepping/TestStepAndBreakpoints.py Mon Feb 25 17:51:06 2013
@@ -10,6 +10,9 @@ class TestObjCStepping(TestBase):
 
     mydir = os.path.join("lang", "c", "stepping")
 
+    def getCategories(self):
+        return ['basic_process']
+
     @unittest2.skipUnless(sys.platform.startswith("darwin"), "requires Darwin")
     @python_api_test
     @dsym_test





More information about the lldb-commits mailing list