- Oct 20, 2010
-
-
Johnny Chen authored
after running the program. llvm-svn: 116873
-
- Oct 19, 2010
-
-
Johnny Chen authored
llvm-svn: 116850
-
Johnny Chen authored
Add a little helper function SETTING_MSG(setting) to be used from TestSettings.test_set_output_path(). llvm-svn: 116847
-
- Oct 18, 2010
-
-
Johnny Chen authored
llvm-svn: 116748
-
Johnny Chen authored
Also add a more useful assert message for test_set_output_path(), which is currently decorated with @expectedFailure. llvm-svn: 116718
-
- Oct 09, 2010
-
-
Johnny Chen authored
usage to self.expect() which is more descriptive. llvm-svn: 116115
-
- Oct 08, 2010
-
-
Johnny Chen authored
which is more descriptive. And wrap the file open operation inside a with block so that close() is automatically called upon exiting the block. llvm-svn: 116096
-
Johnny Chen authored
Also uncomment the cleanup of "stdout.txt" file as part of the class cleanup routine even though test_set_output_path() is failing right now. llvm-svn: 116023
-
- Oct 06, 2010
-
-
Johnny Chen authored
for the test case test_set_term_width() after the recent changes. llvm-svn: 115820
-
- Sep 27, 2010
-
-
Johnny Chen authored
Also added "settings set -r prompt" to reset the prompt afterwards. llvm-svn: 114846
-
- Sep 20, 2010
-
-
Caroline Tice authored
the parent of Process settings; add 'default-arch' as a class-wide setting for Target. Replace lldb::GetDefaultArchitecture with Target::GetDefaultArchitecture & Target::SetDefaultArchitecture. Add 'use-external-editor' as user setting to Debugger class & update code appropriately. Add Error parameter to methods that get user settings, for easier reporting of bad requests. Fix various other minor related bugs. Fix test cases to work with new changes. llvm-svn: 114352
-
Johnny Chen authored
rdar://problem/8449849 llvm-svn: 114328
-
- Sep 19, 2010
-
-
Johnny Chen authored
llvm-svn: 114307
-
- Sep 16, 2010
-
-
Johnny Chen authored
checks that the launched process writes its standard output there. llvm-svn: 114102
-
Johnny Chen authored
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
-
Johnny Chen authored
(lldb) settings set process.run-args A B C (lldb) settings set process.env-vars ["MY_ENV_VAR"]=YES commands. The main.cpp checks whether A, B, C is passed to main and whether the $MY_ENV_VAR env variable is defined and outputs the findings to a file. llvm-svn: 114031
-
- Sep 07, 2010
-
-
Johnny Chen authored
And added a trace output for the stop function name to breakAfterLaunch() method. llvm-svn: 113251
-
Johnny Chen authored
llvm-svn: 113219
-
Johnny Chen authored
llvm-svn: 113214
-
Johnny Chen authored
llvm-svn: 113211
-