mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
validate: launcher: Keep gst debug logs in main log fails in debug mode
It makes reading the logs much simpler Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5666>
This commit is contained in:
parent
89434a077c
commit
c530c94239
1 changed files with 1 additions and 1 deletions
|
@ -951,7 +951,7 @@ class GstValidateTest(Test):
|
||||||
subproc_env["GST_VALIDATE_UUID"] = self.get_uuid()
|
subproc_env["GST_VALIDATE_UUID"] = self.get_uuid()
|
||||||
subproc_env["GST_VALIDATE_LOGSDIR"] = self.options.logsdir
|
subproc_env["GST_VALIDATE_LOGSDIR"] = self.options.logsdir
|
||||||
|
|
||||||
if 'GST_DEBUG' in os.environ and not self.options.redirect_logs:
|
if 'GST_DEBUG' in os.environ and not self.options.redirect_logs and not self.options.debug:
|
||||||
gstlogsfile = os.path.splitext(self.logfile)[0] + '.gstdebug'
|
gstlogsfile = os.path.splitext(self.logfile)[0] + '.gstdebug'
|
||||||
self.extra_logfiles.add(gstlogsfile)
|
self.extra_logfiles.add(gstlogsfile)
|
||||||
subproc_env["GST_DEBUG_FILE"] = gstlogsfile
|
subproc_env["GST_DEBUG_FILE"] = gstlogsfile
|
||||||
|
|
Loading…
Reference in a new issue