validate:launcher: Better handle GST debug log outputs redirection
This commit is contained in:
parent
c0e3d2e4f1
commit
a17c214dba
@ -370,11 +370,12 @@ class GstValidateTest(Test):
|
||||
subproc_env["GST_VALIDATE_FILE"] = logfiles
|
||||
self.extra_logfiles.append(self.validatelogs)
|
||||
|
||||
if 'GST_DEBUG' in os.environ:
|
||||
if 'GST_DEBUG' in os.environ and not self.options.redirect_logs:
|
||||
gstlogsfile = self.logfile + '.gstdebug'
|
||||
self.extra_logfiles.append(gstlogsfile)
|
||||
subproc_env["GST_DEBUG_FILE"] = gstlogsfile
|
||||
elif self.options.no_color:
|
||||
|
||||
if self.options.no_color:
|
||||
subproc_env["GST_DEBUG_NO_COLOR"] = '1'
|
||||
|
||||
return subproc_env
|
||||
|
Loading…
x
Reference in New Issue
Block a user