From: Anthony Geay Date: Thu, 17 Feb 2022 07:19:32 +0000 (+0100) Subject: Update salome_test_driver.py to SSL default mode X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d32f89cfc02e822af367f4a489a1f43af11c5e0a;p=modules%2Fkernel.git Update salome_test_driver.py to SSL default mode --- diff --git a/bin/appliskel/salome_tester/salome_test_driver.py b/bin/appliskel/salome_tester/salome_test_driver.py index 38888491f..7b0efad17 100755 --- a/bin/appliskel/salome_tester/salome_test_driver.py +++ b/bin/appliskel/salome_tester/salome_test_driver.py @@ -127,6 +127,8 @@ if __name__ == "__main__": from salome_instance import SalomeInstance res = 1 try: + import KernelBasis + KernelBasis.setSSLMode(False) salome_instance = SalomeInstance.start(shutdown_servers=True) port = salome_instance.get_port() res, out, err = runTest(test_and_args) diff --git a/src/KernelHelpers/Test/KernelHelpersUnitTests.cxx b/src/KernelHelpers/Test/KernelHelpersUnitTests.cxx index cdf2b1990..31e222571 100644 --- a/src/KernelHelpers/Test/KernelHelpersUnitTests.cxx +++ b/src/KernelHelpers/Test/KernelHelpersUnitTests.cxx @@ -24,6 +24,7 @@ #include "SALOME_KernelServices.hxx" #include "Basics_Utils.hxx" +#include "KernelBasis.hxx" #include #include CORBA_CLIENT_HEADER(SALOME_TestComponent) @@ -36,6 +37,7 @@ void KernelHelpersUnitTests::setUp() { + setSSLMode(false); } // ============================================================================