summaryrefslogtreecommitdiffstats
path: root/lldb/test/command_source/TestCommandSource.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/command_source/TestCommandSource.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/command_source/TestCommandSource.py')
-rw-r--r--lldb/test/command_source/TestCommandSource.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/command_source/TestCommandSource.py b/lldb/test/command_source/TestCommandSource.py
index 23e5815db7c..e1e233013ac 100644
--- a/lldb/test/command_source/TestCommandSource.py
+++ b/lldb/test/command_source/TestCommandSource.py
@@ -5,7 +5,7 @@ See also http://llvm.org/viewvc/llvm-project?view=rev&revision=109673.
"""
import os, time
-import unittest
+import unittest2
import lldb
import lldbtest
@@ -33,4 +33,4 @@ if __name__ == '__main__':
import atexit
lldb.SBDebugger.Initialize()
atexit.register(lambda: lldb.SBDebugger.Terminate())
- unittest.main()
+ unittest2.main()
OpenPOWER on IntegriCloud