From 009fe74228e360ff2db49ecfcb3b0e5045e901b1 Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Wed, 24 Apr 2024 15:46:23 +0200 Subject: [PATCH] Add new method to SalomeContext class: addToTestsPath --- bin/salomeContext.py | 4 ++++ 1 file changed, 4 insertions(+) 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, '') -- 2.39.2