diff options
author | Enrico Granata <egranata@apple.com> | 2014-09-16 22:53:30 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-09-16 22:53:30 +0000 |
commit | 6389a7da088e58694cccaf29f9c361028a0f4dd8 (patch) | |
tree | d423f66939ec1ba8a9e91ed2584df77425e5fa20 /lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py | |
parent | ac55b15bf463c517151cbe4f965216bc7674db0f (diff) | |
download | bcm5719-llvm-6389a7da088e58694cccaf29f9c361028a0f4dd8.tar.gz bcm5719-llvm-6389a7da088e58694cccaf29f9c361028a0f4dd8.zip |
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
llvm-svn: 217927
Diffstat (limited to 'lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py')
-rw-r--r-- | lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py b/lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py index d5a911a29a3..107f93d040b 100644 --- a/lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py +++ b/lldb/test/functionalities/data-formatter/data-formatter-disabling/TestDataFormatterDisabling.py @@ -47,16 +47,7 @@ class DataFormatterDisablingTestCase(TestBase): # 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) |