Salome HOME
Mise à jour du template PythonComponent
[tools/sat.git] / commands / test.py
index 1fd88388bd89441c3424942e8246bb4493b1e794..62fd7fef5cc6d55e793a4955b2dc6bde2f4ebc72 100644 (file)
@@ -475,7 +475,7 @@ def create_test_report(config,
                     if 'callback' in script:
                         try:
                             cnode = add_simple_node(tn, "callback")
-                            if src.architecture.is_windows():
+                            if True:  # bug xml mal forme colorisation  src.architecture.is_windows():
                                 import string
                                 cnode.text = filter(
                                                 lambda x: x in string.printable,
@@ -636,7 +636,7 @@ def run(args, runner, logger):
     show_desktop = (options.display and options.display.upper() == "NO")
     if options.display and options.display != "NO":
         remote_name = options.display.split(':')[0]
-        if remote_name != "":
+        if remote_name != "" and (not src.architecture.is_windows()):
             check_remote_machine(remote_name, logger)
         # if explicitly set use user choice
         os.environ['DISPLAY'] = options.display