validate: launcher: Allow using debug log colors when those are being redirected
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9127>
This commit is contained in:
parent
ca36315dab
commit
b51dadf6f1
@ -1043,6 +1043,8 @@ class GstValidateTest(Test):
|
||||
self.extra_logfiles.add(gstlogsfile)
|
||||
subproc_env["GST_DEBUG_FILE"] = gstlogsfile
|
||||
no_color = self.options.no_color
|
||||
elif self.options.redirect_logs:
|
||||
no_color = False
|
||||
|
||||
if no_color:
|
||||
subproc_env["GST_DEBUG_NO_COLOR"] = '1'
|
||||
|
Loading…
x
Reference in New Issue
Block a user