[Lldb-commits] [lldb] r116873 - /lldb/trunk/test/settings/TestSettings.py
Johnny Chen
johnny.chen at apple.com
Tue Oct 19 15:31:50 PDT 2010
Author: johnny
Date: Tue Oct 19 17:31:50 2010
New Revision: 116873
URL: http://llvm.org/viewvc/llvm-project?rev=116873&view=rev
Log:
test_set_output_path() should restore the original setting of target.process.output-path
after running the program.
Modified:
lldb/trunk/test/settings/TestSettings.py
Modified: lldb/trunk/test/settings/TestSettings.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/settings/TestSettings.py?rev=116873&r1=116872&r2=116873&view=diff
==============================================================================
--- lldb/trunk/test/settings/TestSettings.py (original)
+++ lldb/trunk/test/settings/TestSettings.py Tue Oct 19 17:31:50 2010
@@ -120,6 +120,9 @@
self.runCmd("run", RUN_SUCCEEDED)
+ # Restore the original setting now that the program has been run.
+ self.runCmd("settings set -r target.process.output-path")
+
# The 'stdout.txt' file should now exist.
self.assertTrue(os.path.isfile("stdout.txt"),
"'stdout.txt' exists due to target.process.output-path.")
More information about the lldb-commits
mailing list