]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Ignore encoding errors from command output vsr/clean_up
authorvsr <vsr@opencascade.com>
Tue, 26 May 2020 16:18:01 +0000 (19:18 +0300)
committervsr <vsr@opencascade.com>
Tue, 26 May 2020 16:18:01 +0000 (19:18 +0300)
bin/appliskel/salome_tester/salome_test_driver.py

index d3d6bb99e55274241d656f6e3b2137ac11458308..a8e04fb53aaf2efe1d248b633470dc62851157ed 100755 (executable)
@@ -42,12 +42,12 @@ def runTest(command):
 # Display output and errors
 def processResult(res, out, err):
   if out:
-    print(out.decode('utf_8'))
+    print(out.decode('utf_8', errors='ignore'))
     pass
   if err:
     print("    ** Detected error **")
     print("Error code: ", res)
-    print(err.decode('utf_8'), end=' \n')
+    print(err.decode('utf_8', errors='ignore'), end=' \n')
     print("    ** end of message **")
     pass
   return res