~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/lib/dbqp_opts/test_run_options.py

  • Committer: patrick crews
  • Date: 2011-06-16 21:55:55 UTC
  • mto: (2429.2.1 dbqp_revamp)
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: gleebix@gmail.com-20110616215555-m2alhbmtvvv3h7dq
Additional tweaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
                                       '../client'))
82
82
basedir_default = os.path.split(testdir_default)[0]
83
83
 
84
 
master_control_group = optparse.OptionGroup(parser, 
85
 
                     "Master file - provides system-defining hooks to guide test execution.  Used for more advanced testing")
 
84
config_control_group = optparse.OptionGroup(parser, 
 
85
                     "Configuration controls - allows you to specify a file with a number of options already specified")
86
86
 
87
 
master_control_group.add_option(
88
 
   "--master_file"
89
 
    , dest="defaultsfilepath"
 
87
config_control_group.add_option(
 
88
   "--config_file"
 
89
    , dest="configfilepath"
90
90
    , action='store'
91
91
    , default=None # We want to have a file that will be our default defaults file...
92
 
    , help="The file that specifies default system setup hooks for dbqp to figure out what to do"
 
92
    , help="The file that specifies system configuration specs for dbqp to execute tests"
93
93
    )
94
94
 
95
 
parser.add_option_group(master_control_group)
 
95
parser.add_option_group(config_control_group)
96
96
 
97
97
# We start adding our option groups to the parser
98
98
# option groups kept in separate files just for cleanliness /