File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ def parse():
4545 parser .add_argument ('--cassandra-version' , help = 'run tests on a specific Cassandra version' )
4646 parser .add_argument ('--upload' , action = 'store_true' , help = 'upload cobertura site to configured server' )
4747 parser .add_argument ('--clean' , action = 'store_true' , help = 'runs the maven project from a clean environment' )
48+ parser .add_argument ('--automated' , action = 'store_true' , help = 'ensures that runs do not get hung up by user input requests' )
4849 parser .add_argument ('--testdocs' , action = 'store_true' , help = 'generates the test\' s Javadoc' )
4950 parser .add_argument ('--samplecode' , action = 'store_true' , help = 'prints generated sample CQL' )
5051 args = parser .parse_args ()
@@ -158,7 +159,7 @@ def main():
158159 execute ('%s' % cobertura_build_command )
159160
160161 try :
161- if raw_input ('Save Cobertura Report? [y/N] ' ).lower () == 'y' :
162+ if args . automated or raw_input ('Save Cobertura Report? [y/N] ' ).lower () == 'y' :
162163
163164 # Save out cobertura site files
164165 save_cobertura_site ()
You can’t perform that action at this time.
0 commit comments