]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Add a workaround about the "foreground" improvement to allow running tests with pytho...
authorvsr <vsr@opencascade.com>
Wed, 6 Apr 2011 12:28:16 +0000 (12:28 +0000)
committervsr <vsr@opencascade.com>
Wed, 6 Apr 2011 12:28:16 +0000 (12:28 +0000)
bin/runSalome.py

index 7cdde509eb6db517b2002acd6eee58407add2b79..3bcd64c36aa0b76e9bd3a5a339abdd194f37dd31 100755 (executable)
@@ -1010,6 +1010,7 @@ if __name__ == "__main__":
     # --
     test = args['gui'] and args['session_gui']
     test = test or args['wake_up_session']
+    test = test and os.getenv("SALOME_TEST_MODE", "0") != "1"
     if test:
         foreGround(clt, args)
         pass