projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e182272
)
validate:launcher: Fix printing debug logs URIs
author
Thibault Saunier
<tsaunier@igalia.com>
Mon, 15 Apr 2019 15:50:16 +0000
(11:50 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Mon, 15 Apr 2019 15:50:16 +0000
(11:50 -0400)
validate/launcher/baseclasses.py
patch
|
blob
|
history
diff --git
a/validate/launcher/baseclasses.py
b/validate/launcher/baseclasses.py
index
48b7582
..
99099fc
100644
(file)
--- a/
validate/launcher/baseclasses.py
+++ b/
validate/launcher/baseclasses.py
@@
-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 ""