summaryrefslogtreecommitdiffstats
path: root/lldb/test/help/TestHelp.py
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-08-05 23:42:46 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-08-05 23:42:46 +0000
commit73258830f391047d9ee9ae4a07fd8ced4d7cf0a9 (patch)
tree70373b8e3fddf27ccbabb93bb587ab7debb65f29 /lldb/test/help/TestHelp.py
parent755aceb5d0df842b5132052d474c361b5605aedb (diff)
downloadbcm5719-llvm-73258830f391047d9ee9ae4a07fd8ced4d7cf0a9.tar.gz
bcm5719-llvm-73258830f391047d9ee9ae4a07fd8ced4d7cf0a9.zip
o Added unittest2 which has added the new features in unittest for Python 2.7
backported to Python 2.3+. Some of the features desired include better verbose reporting in unittest2.TextTestRunner and decorator support for skipping tests and expected failures. http://pypi.python.org/pypi/unittest2 o Modified the existing .py tests to use unittest2 and decorated TestSTL.test_step_into_stl(), which is known to always fail currently, with @unittest2.expectedFailure. llvm-svn: 110397
Diffstat (limited to 'lldb/test/help/TestHelp.py')
-rw-r--r--lldb/test/help/TestHelp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/help/TestHelp.py b/lldb/test/help/TestHelp.py
index 6b2b7180986..91aa8b96244 100644
--- a/lldb/test/help/TestHelp.py
+++ b/lldb/test/help/TestHelp.py
@@ -5,7 +5,7 @@ See also CommandInterpreter::OutputFormattedHelpText().
"""
import os, time
-import unittest
+import unittest2
import lldb
import lldbtest
@@ -39,4 +39,4 @@ if __name__ == '__main__':
import atexit
lldb.SBDebugger.Initialize()
atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest.main()
+ unittest2.main()
OpenPOWER on IntegriCloud