testcasegenerator: allow to run from cli
This commit is contained in:
parent
a257311f5f
commit
fdadfbd836
@ -291,9 +291,11 @@ class TestcaseGenerator(tool.BatchTool):
|
|||||||
|
|
||||||
def run_tool(self, cli=False):
|
def run_tool(self, cli=False):
|
||||||
self.cli = cli
|
self.cli = cli
|
||||||
if( not cli):
|
if (not cli):
|
||||||
while Gtk.events_pending():
|
while Gtk.events_pending():
|
||||||
Gtk.main_iteration()
|
Gtk.main_iteration()
|
||||||
|
else:
|
||||||
|
self.window = None
|
||||||
|
|
||||||
self.progress = ProgressMeter(_('Generating testcases'),'',
|
self.progress = ProgressMeter(_('Generating testcases'),'',
|
||||||
parent=self.window)
|
parent=self.window)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user