Salome HOME
comment traces from OP
authorcrouzet <nicolas.crouzet@cea.fr>
Thu, 22 Mar 2018 13:06:21 +0000 (14:06 +0100)
committercrouzet <nicolas.crouzet@cea.fr>
Thu, 22 Mar 2018 13:06:21 +0000 (14:06 +0100)
commands/test.py
src/ElementTree.py
src/test_module.py

index 4352c540e0c2d8be3be1b427ed0e524b8c786267..2d500f82aa1f21c2ef6cf57948ef16911f22cdb8 100644 (file)
@@ -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),
index 34bd557d0f0df99cc019a005c5976d797aed847b..15d59ca164ba7d910891ff763e4d02a57ab5f637 100644 (file)
@@ -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
index 99d6315f54127f78f5a01ae56969df96f0abd35a..1eb910aff05dcc06bcd9ff4048f12c959454223c 100644 (file)
@@ -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