mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
baseclass: add_validate_config: don't use self.proc_env
self.proc_env is created when starting the test but this API can be call by generator when creating the test.
This commit is contained in:
parent
921a073bdf
commit
0c83ff56dd
1 changed files with 2 additions and 2 deletions
|
@ -466,9 +466,9 @@ class Test(Loggable):
|
|||
if not subenv:
|
||||
subenv = self.extra_env_variables
|
||||
|
||||
if subenv.get('GST_VALIDATE_CONFIG'):
|
||||
if "GST_VALIDATE_CONFIG" in subenv:
|
||||
subenv['GST_VALIDATE_CONFIG'] = '%s%s%s' % (
|
||||
self.proc_env['GST_VALIDATE_CONFIG'], os.pathsep, config)
|
||||
subenv['GST_VALIDATE_CONFIG'], os.pathsep, config)
|
||||
else:
|
||||
subenv['GST_VALIDATE_CONFIG'] = config
|
||||
|
||||
|
|
Loading…
Reference in a new issue