~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/lib/dbqp_opts/environment_control.opt

  • Committer: patrick crews
  • Date: 2011-06-17 16:35:45 UTC
  • mto: (2429.2.1 dbqp_revamp)
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: gleebix@gmail.com-20110617163545-fcnz9e40ugdd97sk
Added ability to use libeatmydata as LD_PRELOAD for servers.  Need to update docs

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
  )
77
77
 
78
78
environment_control_group.add_option(
 
79
    "--libeatmydata"
 
80
  , dest="libeatmydata"
 
81
  , action='store_true'
 
82
  , default=False
 
83
  , help = "We use libeatmydata (if available) to disable fsyncs and speed up test execution.  Implies --no-shm"
 
84
  )
 
85
 
 
86
environment_control_group.add_option(
 
87
    "--libeatmydata-path"
 
88
  , dest="libeatmydatapath"
 
89
  , action='store'
 
90
  , default='/usr/local/lib/libeatmydata.so'
 
91
  , help = "Path to the libeatmydata install you want to use [%default]"
 
92
  )
 
93
 
 
94
environment_control_group.add_option(
79
95
    "--start-dirty"
80
96
  , dest="startdirty"
81
97
  , action='store_true'
91
107
  , help = "Turn off the use of --secure-file-priv=vardir for started servers"
92
108
  )
93
109
 
 
110
environment_control_group.add_option(
 
111
       "--randgen-path"
 
112
     , dest="randgenpath"
 
113
     , action='store'
 
114
     , default=None
 
115
     , help = "The path to a randgen installation that can be used to execute randgen-based tests"
 
116
     )
 
117
 
94
118
parser.add_option_group(environment_control_group)
95
119
# end environment control group
96
120