testcasegenerator: allow to run from cli

This commit is contained in:
Doug Blank 2016-04-30 23:49:47 -04:00
parent a257311f5f
commit fdadfbd836

View File

@ -291,9 +291,11 @@ class TestcaseGenerator(tool.BatchTool):
def run_tool(self, cli=False):
self.cli = cli
if( not cli):
if (not cli):
while Gtk.events_pending():
Gtk.main_iteration()
else:
self.window = None
self.progress = ProgressMeter(_('Generating testcases'),'',
parent=self.window)