[Lldb-commits] [lldb] r127431 - /lldb/trunk/test/settings/TestSettings.py
Caroline Tice
ctice at apple.com
Thu Mar 10 14:29:54 PST 2011
Author: ctice
Date: Thu Mar 10 16:29:54 2011
New Revision: 127431
URL: http://llvm.org/viewvc/llvm-project?rev=127431&view=rev
Log:
Add a test case to make sure that all the settings that currently ought to
exist are actually there.
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=127431&r1=127430&r2=127431&view=diff
==============================================================================
--- lldb/trunk/test/settings/TestSettings.py (original)
+++ lldb/trunk/test/settings/TestSettings.py Thu Mar 10 16:29:54 2011
@@ -229,6 +229,33 @@
self.runCmd ("settings set -r target.process.env-vars")
+ def test_all_settings_exist (self):
+ self.expect ("settings show",
+ substrs = [ "frame-format (string) = ",
+ "prompt (string) = ",
+ "script-lang (string) = ",
+ "term-width (int) = ",
+ "thread-format (string) = ",
+ "use-external-editor (boolean) = ",
+ "auto-confirm (boolean) = ",
+ "target.default-arch (string):",
+ "target.expr-prefix (string) = ",
+ "target.execution-level (enum) = ",
+ "target.execution-mode (enum) = ",
+ "target.execution-os-type (enum) = ",
+ "target.process.run-args (array):",
+ "target.process.env-vars (dictionary):",
+ "target.process.inherit-env (boolean) = ",
+ "target.process.input-path (string) = ",
+ "target.process.output-path (string) = ",
+ "target.process.error-path (string) = ",
+ "target.process.plugin (enum):",
+ "target.process.disable-aslr (boolean) = ",
+ "target.process.disable-stdio (boolean) = ",
+ "target.process.thread.step-avoid-regexp (string):",
+ "target.process.thread.trace-thread (boolean) =" ])
+
+
if __name__ == '__main__':
import atexit
lldb.SBDebugger.Initialize()
More information about the lldb-commits
mailing list