# OP 14/11/2017 Ajout de traces pour essayer de decouvrir le pb
# de remontee de log des tests
- print "TRACES OP - test.py/create_test_report() : xml_history_path = '#%s#'" %xml_history_path
+ #print "TRACES OP - test.py/create_test_report() : xml_history_path = '#%s#'" %xml_history_path
if withappli:
if not first_time:
# OP 14/11/2017 Ajout de traces pour essayer de decouvrir le pb
# de remontee de log des tests
- print "TRACES OP - test.py/run() : historic_xml_path = '#%s#'" %historic_xml_path
- print "TRACES OP - test.py/run() : log_dir = '#%s#'" %log_dir
- print "TRACES OP - test.py/run() : name_xml_board = '#%s#'" %name_xml_board
+ #print "TRACES OP - test.py/run() : historic_xml_path = '#%s#'" %historic_xml_path
+ #print "TRACES OP - test.py/run() : log_dir = '#%s#'" %log_dir
+ #print "TRACES OP - test.py/run() : name_xml_board = '#%s#'" %name_xml_board
logger.l_logFiles.append(xml_board_path)
logger.add_link(os.path.join("TEST", name_xml_board),
if not hasattr(source, "read"):
# OP 14/11/2017 Ajout de traces pour essayer de decouvrir le pb
# de remontee de log des tests
- print "TRACES OP - ElementTree.py/ElementTree.parse() source = '#%s#'" %source
+ #print "TRACES OP - ElementTree.py/ElementTree.parse() source = '#%s#'" %source
source = open(source, "rb")
if not parser:
parser = XMLTreeBuilder()
def parse(source, parser=None):
# OP 14/11/2017 Ajout de traces pour essayer de decouvrir le pb
# de remontee de log des tests
- print "TRACES OP - ElementTree.py/parse() source = '#%s#'" %source
+ #print "TRACES OP - ElementTree.py/parse() source = '#%s#'" %source
tree = ElementTree()
tree.parse(source, parser)
return tree
stdout=subprocess.PIPE,
shell=True,
executable='/bin/bash').communicate()
- print "TRACES OP - test_module.py/Test.get_tmp_dir() subproc_res = "
+ #print "TRACES OP - test_module.py/Test.get_tmp_dir() subproc_res = "
for resLine in subproc_res:
print "- '#%s#'" %resLine
# OP 14/11/2017 Ajout de traces pour essayer de decouvrir le pb
# de remontee de log des tests
- print "TRACES OP - test_module.py/Test.get_tmp_dir() root_dir = '#%s#'" %root_dir
+ #print "TRACES OP - test_module.py/Test.get_tmp_dir() root_dir = '#%s#'" %root_dir
# import grid salome_utils from KERNEL that gives
# the right getTmpDir function