mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
validate:launcher: Fix printing debug logs URIs
This commit is contained in:
parent
e182272262
commit
81b1368237
1 changed files with 9 additions and 1 deletions
|
@ -559,7 +559,15 @@ class Test(Loggable):
|
|||
|
||||
def get_logfile_repr(self):
|
||||
if not self.options.redirect_logs:
|
||||
return "\n Log: %s" % (self.html_log if self.html_log else self.logfile)
|
||||
if self.html_log:
|
||||
log = self.html_log
|
||||
else:
|
||||
log = self.logfile
|
||||
|
||||
if CI_ARTIFACTS_URL:
|
||||
log = CI_ARTIFACTS_URL + os.path.relpath(log, self.options.logsdir)
|
||||
|
||||
return "\n Log: %s" % (log)
|
||||
|
||||
return ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue