summaryrefslogtreecommitdiffstats
path: root/lldb/test/persistent_variables/TestPersistentVariables.py
Commit message (Collapse)AuthorAgeFilesLines
* Move the persistent_variables directory under expression_command directory.Johnny Chen2010-11-091-45/+0
| | | | llvm-svn: 118591
* Modify the command passed to command interpreter from 'expr' (which is an ↵Johnny Chen2010-10-191-4/+4
| | | | | | | | alias of 'expression') to 'expression' to avoid cases where 'expr' has been unaliased. llvm-svn: 116780
* Modification of the expected start strings for simple 'expr' output ↵Johnny Chen2010-10-061-8/+8
| | | | | | involving persistent variables. llvm-svn: 115819
* Removed the @expectedFailure decorator from test_persistent_variables().Johnny Chen2010-09-281-2/+0
| | | | llvm-svn: 115000
* Decorated PersistentVariablesTestCase.test_persistent_variables() withJohnny Chen2010-09-211-0/+2
| | | | | | @expectedFailure as of r114384. llvm-svn: 114466
* Provided a mechanism for the test class to cleanup after itself once it's done.Johnny Chen2010-09-161-1/+3
| | | | | | | | | | | | | | | | | | | | This will remove the confusion experienced when previous test runs left some files (both intermediate or by-product as a result of the test). lldbtest.TestBase defines a classmethod tearDownClass(cls) which invokes the platform-specific cleanup() function as defined by the plugin; after that, it invokes a subclass-specific function classCleanup(cls) if defined; and, finally, it restores the old working directory. An example of classCleanup(cls) is in settings/TestSettings.py: @classmethod def classCleanup(cls): system(["/bin/sh", "-c", "rm output.txt"]) where it deletes the by-product "output.txt" as a result of running a.out. llvm-svn: 114058
* Changed the test case class names to be noun-like instead of verb-like.Johnny Chen2010-09-011-1/+1
| | | | llvm-svn: 112732
* Fail early, fail fast.Johnny Chen2010-08-271-7/+10
| | | | llvm-svn: 112328
* Added a test case test_breakpoint_creation_by_filespec_python() which creates aJohnny Chen2010-08-271-1/+1
| | | | | | | | breakpoint by FileSpec and line number and exercises some FileSpec APIs. Also, RUN_STOPPED is a bad assert name, RUN_SUCCEEDED is better. llvm-svn: 112327
* Print the verbose output of runCmd()/expect() to stderr instead of stdout.Johnny Chen2010-08-201-23/+8
| | | | | | And converted the rest of the test cases to runCmd()/expect(). llvm-svn: 111677
* Added more informational assert message strings.Johnny Chen2010-08-191-5/+1
| | | | llvm-svn: 111536
* Factored the "continue" command execution of the inferior process as part of theJohnny Chen2010-08-161-0/+2
| | | | | | | | | cleanup before finish into the test fixture in lldbtest.TestBase.tearDown(). Derivatives of TestBase is responsible for setting self.runStarted to True if an inferior process has been started. llvm-svn: 111188
* Added a test case to exercise persistent variables in combination with the ↵Johnny Chen2010-08-131-0/+57
"expr" command. llvm-svn: 111035
OpenPOWER on IntegriCloud