- Sep 20, 2010
-
-
Johnny Chen authored
llvm-svn: 114333
-
Johnny Chen authored
llvm-svn: 114332
-
- Sep 18, 2010
-
-
Johnny Chen authored
the running of the test suite. Right now, it doesn't do anything with the config file. Pass "-c myConfigFile" to specify the config file. llvm-svn: 114245
-
- Sep 16, 2010
-
-
Johnny Chen authored
build tree relative search path in order to locate the lldb.py module. When '-i' is present, the test driver relies on the PYTHONPATH environment variable to locate the lldb.py module. llvm-svn: 114094
-
Johnny Chen authored
llvm-svn: 114081
-
- Sep 15, 2010
-
-
Johnny Chen authored
lldb.py module. The priorities to search for are Debug, Release, then BuildAndIntegration. You can always override this with a valid PYTHONPATH environment variable before running the test driver. For example: $ PYTHONPATH=/Find/My/LLDB/Module/Here ./dotest.py -v . Python runtime will try to locate the lldb.py module from /Find/My/LLDB/Module/Here first before trying the Debug, Release, and then BuildAndIntegration directories. llvm-svn: 113991
-
Johnny Chen authored
as it now passes. Added some extra tests to breakpoint_creation_by_filespec_python(). More clarification for the "os command" output and error as defined in lldbtest.system() function. Cleaned up the option processing of the test driver (dotest.py) and fixed the comment about enabling gdb-remote logging. Example: $ GDB_REMOTE_LOG=/tmp/log.txt ./dotest.py -v -t enum_types llvm-svn: 113868
-
- Sep 08, 2010
-
-
Johnny Chen authored
of 10 seconds in order for the debugger to attach. llvm-svn: 113407
-
- Aug 31, 2010
-
-
Johnny Chen authored
to delegate the building of binaries to a sys.platform-sepcific plugin. Modified the dotest.py test driver to add the "plugins" directory to the PYTHONPATH as well. darwin.py is the Mac OS X plugin module. llvm-svn: 112606
-
- Aug 23, 2010
-
-
Johnny Chen authored
which, defaults to False, and if set to True, will trace lldb command execution and result. Added "-t" command option to the test driver dotest.py which sets the LLDB_COMMAND_TRACE environment variable to "YES" and as a result always turns on command tracing regardless of the 'trace' keyword argument to runCmd()/expect(). llvm-svn: 111811
-
- Aug 18, 2010
-
-
Johnny Chen authored
run to stderr, instead of stdout. The same as what the unittest framework uses. llvm-svn: 111319
-
- Aug 17, 2010
-
-
Johnny Chen authored
additional env variables. llvm-svn: 111295
-
Johnny Chen authored
GDB_REMOTE_LOG which specifies the log file pathname. llvm-svn: 111198
-
- Aug 14, 2010
-
-
Johnny Chen authored
LLDB_TESTSUITE_FORCE_FINISH and, if defined, kill the test suite. llvm-svn: 111056
-
- Aug 10, 2010
-
-
Johnny Chen authored
handler similar to what's happening for the individual test case run. llvm-svn: 110719
-
- Aug 09, 2010
-
-
Johnny Chen authored
llvm-svn: 110595
-
- Aug 07, 2010
-
-
Johnny Chen authored
whole test suite. llvm-svn: 110487
-
- 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
-