From d32f89cfc02e822af367f4a489a1f43af11c5e0a Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Thu, 17 Feb 2022 08:19:32 +0100 Subject: [PATCH] Update salome_test_driver.py to SSL default mode --- bin/appliskel/salome_tester/salome_test_driver.py | 2 ++ src/KernelHelpers/Test/KernelHelpersUnitTests.cxx | 2 ++ 2 files changed, 4 insertions(+) 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); } // ============================================================================ -- 2.39.2