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:
582f1cf
)
validate: Disable coloration of GST_DEBUG logs when we have no-color
author
Thibault Saunier
<tsaunier@gnome.org>
Thu, 27 Nov 2014 12:48:17 +0000
(13:48 +0100)
committer
Thibault Saunier
<tsaunier@gnome.org>
Fri, 5 Dec 2014 11:16:54 +0000
(12:16 +0100)
Do that only when those logs are not saved to a file
validate/launcher/baseclasses.py
patch
|
blob
|
history
diff --git
a/validate/launcher/baseclasses.py
b/validate/launcher/baseclasses.py
index
8e680bc
..
8df10c9
100644
(file)
--- a/
validate/launcher/baseclasses.py
+++ b/
validate/launcher/baseclasses.py
@@
-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