mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
validate: Disable coloration of GST_DEBUG logs when we have no-color
Do that only when those logs are not saved to a file
This commit is contained in:
parent
582f1cfc06
commit
ccbcc04498
1 changed files with 2 additions and 0 deletions
|
@ -314,6 +314,8 @@ class GstValidateTest(Test):
|
|||
gstlogsfile = self.logfile + '.gstdebug'
|
||||
self.extra_logfiles.append(gstlogsfile)
|
||||
subproc_env["GST_DEBUG_FILE"] = gstlogsfile
|
||||
elif self.options.no_color:
|
||||
subproc_env["GST_DEBUG_NO_COLOR"] = '1'
|
||||
|
||||
return subproc_env
|
||||
|
||||
|
|
Loading…
Reference in a new issue