Author: enrico
Date: Tue Sep 16 17:53:30 2014
New Revision: 217927
URL: http://llvm.org/viewvc/llvm-project?rev=217927&view=rev
Log:
More categories could be added, and having an explicit list in this test case
is a fairly bullet-proof recipe for disaster. Use the * enabling feature to
workaround this. Fixes rdar://18358649
Modified:
lldb/trunk/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
Modified:
lldb/trunk/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py?rev=217927&r1=217926&r2=217927&view=diff
==============================================================================
---
lldb/trunk/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
(original)
+++
lldb/trunk/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py
Tue Sep 16 17:53:30 2014
@@ -47,16 +47,7 @@ class DataFormatterDisablingTestCase(Tes
# This is the function to remove the custom formats in order to have a
# clean slate for the next test case.
def cleanup():
- self.runCmd('type category enable default', check=False)
- self.runCmd('type category enable system', check=False)
- self.runCmd('type category enable VectorTypes', check=False)
- self.runCmd('type category enable libcxx', check=False)
- self.runCmd('type category enable gnu-libstdc++', check=False)
- self.runCmd('type category enable CoreGraphics', check=False)
- self.runCmd('type category enable CoreServices', check=False)
- self.runCmd('type category enable AppKit', check=False)
- self.runCmd('type category enable CoreFoundation', check=False)
- self.runCmd('type category enable objc', check=False)
+ self.runCmd('type category enable *', check=False)
# Execute the cleanup function during test case tear down.
self.addTearDownHook(cleanup)
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits