From: Gilles DAVID Date: Wed, 24 Apr 2024 13:46:23 +0000 (+0200) Subject: Add new method to SalomeContext class: addToTestsPath X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=009fe74228e360ff2db49ecfcb3b0e5045e901b1;p=modules%2Fkernel.git Add new method to SalomeContext class: addToTestsPath --- diff --git a/bin/salomeContext.py b/bin/salomeContext.py index 5fe4126f8..65dfcb960 100755 --- a/bin/salomeContext.py +++ b/bin/salomeContext.py @@ -175,6 +175,10 @@ class SalomeContext: self.addToVariable('PYTHONPATH', value) # + def addToTestsPath(self, value): + """Append value to SALOME_TESTS_PATH environnement variable""" + self.appendVariable("SALOME_TESTS_PATH", value, separator=":") + """Set environment variable to value""" def setVariable(self, name, value, overwrite=False): env = os.getenv(name, '')