Add a test case to make sure that all the settings that currently ought to

exist are actually there.

llvm-svn: 127431
This commit is contained in:
Caroline Tice 2011-03-10 22:29:54 +00:00
parent 20bd37f747
commit b904ca5015
1 changed files with 27 additions and 0 deletions

View File

@ -229,6 +229,33 @@ class SettingsCommandTestCase(TestBase):
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()