validate:launcher: Strip os.pathsep from extra env variables
We might be working with something that is not a path
This commit is contained in:
parent
0535071158
commit
9708c7eb19
@ -374,7 +374,8 @@ class Test(Loggable):
|
||||
self.proc_env = self.get_subproc_env()
|
||||
|
||||
for var, value in self.extra_env_variables.items():
|
||||
self.proc_env[var] = self.proc_env.get(var, '') + os.pathsep + value
|
||||
value = self.proc_env.get(var, '') + os.pathsep + value
|
||||
self.proc_env[var] = value.strip(os.pathsep)
|
||||
self.add_env_variable(var, self.proc_env[var])
|
||||
|
||||
if self.options.gdb:
|
||||
|
Loading…
x
Reference in New Issue
Block a user