mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-07 19:22:15 +00:00
validate: launcher: Add some missing env variables in command to launch test
This commit is contained in:
parent
b6cd37f142
commit
40a08e6080
2 changed files with 2 additions and 1 deletions
|
@ -64,6 +64,7 @@ class MesonTest(Test):
|
||||||
# No reason to fork since we are launching
|
# No reason to fork since we are launching
|
||||||
# each test individually
|
# each test individually
|
||||||
env['CK_FORK'] = 'no'
|
env['CK_FORK'] = 'no'
|
||||||
|
self.add_env_variable('CK_FORK', 'no')
|
||||||
for var, val in self.child_env.items():
|
for var, val in self.child_env.items():
|
||||||
self.add_env_variable(var, val)
|
self.add_env_variable(var, val)
|
||||||
|
|
||||||
|
|
|
@ -154,7 +154,7 @@ class Test(Loggable):
|
||||||
if res:
|
if res:
|
||||||
res += " "
|
res += " "
|
||||||
value = self.proc_env.get(var, None)
|
value = self.proc_env.get(var, None)
|
||||||
if value:
|
if value is not None:
|
||||||
res += "%s='%s'" % (var, value)
|
res += "%s='%s'" % (var, value)
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
|
Loading…
Reference in a new issue