]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Bug IPAL19413 - Qt4 porting: import salome_test fails
authorouv <ouv@opencascade.com>
Wed, 2 Apr 2008 08:50:11 +0000 (08:50 +0000)
committerouv <ouv@opencascade.com>
Wed, 2 Apr 2008 08:50:11 +0000 (08:50 +0000)
src/KERNEL_PY/salome_test.py

index d18c706e2d0411fb74b701af2797095f144cbb43..94d2b81f0a8cc93770db1632a7e4a1f14f2a473b 100755 (executable)
@@ -237,7 +237,10 @@ print ret
 smesh.Compute(mesh, box)
 sg.updateObjBrowser(1);
 
-if sys.platform        != "win32":
+# SUPERVISOR module is not available since SALOME 5.0 version
+defineSuperV = 0
+
+if (defineSuperV != 0) & (sys.platform != "win32"):
        print
        print "=============  Test      Supervisor      ============================="
        print