From: crouzet Date: Thu, 22 Mar 2018 13:06:21 +0000 (+0100) Subject: comment traces from OP X-Git-Tag: 5.1.0~47 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4bf88ce15e68d64cd70324c2863f9521ef9f0727;p=tools%2Fsat.git comment traces from OP --- diff --git a/commands/test.py b/commands/test.py index 4352c54..2d500f8 100644 --- a/commands/test.py +++ b/commands/test.py @@ -256,7 +256,7 @@ def create_test_report(config, # 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: @@ -705,9 +705,9 @@ def run(args, runner, logger): # 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), diff --git a/src/ElementTree.py b/src/ElementTree.py index 34bd557..15d59ca 100644 --- a/src/ElementTree.py +++ b/src/ElementTree.py @@ -589,7 +589,7 @@ class ElementTree: 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() @@ -883,7 +883,7 @@ def fixtag(tag, namespaces): 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 diff --git a/src/test_module.py b/src/test_module.py index 99d6315..1eb910a 100644 --- a/src/test_module.py +++ b/src/test_module.py @@ -449,7 +449,7 @@ class Test: 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 @@ -457,7 +457,7 @@ class Test: # 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