- Aug 06, 2010
-
-
Johnny Chen authored
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
-
- Jul 03, 2010
-
-
Johnny Chen authored
module lldbtest.py and refactored the existing test cases to derive from the abstract base class lldbtest.TestBase. MOdified the test driver (dotest.py and dotest.pl) to set up additional PYTHONPATH component for locating the lldbtest module, which sits in the same directory. llvm-svn: 107563
-
- Jul 02, 2010
-
-
Johnny Chen authored
done if the environment variable LLDB_LOG is defined. llvm-svn: 107508
-
Johnny Chen authored
is defined. Use ${LLDB_LOG} to specify the log file. Create a singleton SBDebugger in the lldb namespace, that gets used when running the entire test suite. llvm-svn: 107445
-
- Jun 30, 2010
-
-
Johnny Chen authored
llvm-svn: 107221
-
Johnny Chen authored
Also modified dotest.py so that it sets the LLDB_TEST environment variable so that individual test cases can locate their supporting files correctly. llvm-svn: 107220
-
- Jun 29, 2010
-
-
Johnny Chen authored
lldb.SBDebugger.Initialize()/Terminate() pair. Change TestHelp.py to use synchronous debugging, which is easier to work with. llvm-svn: 107198
-
- Jun 26, 2010
-
-
Johnny Chen authored
llvm-svn: 106929
-
Johnny Chen authored
llvm-svn: 106913
-
- Jun 25, 2010
-
-
Johnny Chen authored
Tests for lldb are written as python scripts which take advantage of the script bridging provided by LLDB.framework to interact with lldb core. A specific naming pattern is followed by the .py script to be recognized as a module which implements a test scenario, namely, Test*.py. To specify the directories where "Test*.py" python test scripts are located, you need to pass in a list of directory names. By default, the current working directory is searched if nothing is specified on the command line. An example: [14:10:20] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v example test_choice (TestSequenceFunctions.TestSequenceFunctions) ... ok test_sample (TestSequenceFunctions.TestSequenceFunctions) ... ok test_shuffle (TestSequenceFunctions.TestSequenceFunctions) ... ok ---------------------------------------------------------------------- Ran 3 tests in 0.000s OK llvm-svn: 106890
-