From a62eebd042000f6ed5d6c694f214f03f30673ac2 Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 29 Oct 2014 12:57:18 +0300 Subject: [PATCH] Fix pb with running make test when PortManager feature is switched ON (default behavior since v7.5.0) --- test/VisuPrs/Util/paravistesthelper.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/VisuPrs/Util/paravistesthelper.py b/test/VisuPrs/Util/paravistesthelper.py index 6a59811c..76854a66 100644 --- a/test/VisuPrs/Util/paravistesthelper.py +++ b/test/VisuPrs/Util/paravistesthelper.py @@ -33,6 +33,11 @@ if not os.getenv("OMNIORB_USER_PATH"): args = {} searchFreePort.searchFreePort(args) port = args['port'] +try: + import PortManager + PortManager.releasePort(os.environ['NSPORT']) +except ImportError: + pass def timeout_handler(signum, frame): print "FAILED : timeout(" + sys.argv[1] + ") is reached" -- 2.39.2