parser.add_option('g', 'grid', 'list', 'grids',
_('Optional: Indicate which grid(s) to test (subdirectory of the test '
'base).'))
parser.add_option('g', 'grid', 'list', 'grids',
_('Optional: Indicate which grid(s) to test (subdirectory of the test '
'base).'))
-parser.add_option('s', 'session', 'list', 'sessions',
+parser.add_option('s', 'session', 'list2', 'sessions',
_('Optional: indicate which session(s) to test (subdirectory of the '
'grid).'))
parser.add_option('', 'display', 'string', 'display',
_('Optional: indicate which session(s) to test (subdirectory of the '
'grid).'))
parser.add_option('', 'display', 'string', 'display',
first_time = True
root = etree.Element("salome")
prod_node = etree.Element("product", name=application_name, build=xmlname)
root.append(prod_node)
else:
first_time = True
root = etree.Element("salome")
prod_node = etree.Element("product", name=application_name, build=xmlname)
root.append(prod_node)
else:
base_dir = os.path.join(tmp_dir, dirname)
os.makedirs(base_dir)
os.environ['TT_TMP_RESULT'] = base_dir
base_dir = os.path.join(tmp_dir, dirname)
os.makedirs(base_dir)
os.environ['TT_TMP_RESULT'] = base_dir
# Add the historic files into the log files list of the command
logger.l_logFiles.append(historic_xml_path)
# Add the historic files into the log files list of the command
logger.l_logFiles.append(historic_xml_path)