validate:tools: Minor cleanups

This commit is contained in:
Thibault Saunier 2014-01-10 11:36:10 +01:00
parent 38615bcae2
commit 32e7b9a55e
3 changed files with 7 additions and 5 deletions

View file

@ -255,16 +255,16 @@ AC_CONFIG_FILES([
Makefile
common/Makefile
common/m4/Makefile
data/Makefile
gst/Makefile
gst/validate/Makefile
tools/Makefile
tools/launcher/Makefile
tools/launcher/apps/Makefile
data/Makefile
pkgconfig/Makefile
pkgconfig/gst-validate-uninstalled.pc
pkgconfig/gst-validate.pc
po/Makefile.in
tools/Makefile
tools/launcher/Makefile
tools/launcher/apps/Makefile
])
AC_OUTPUT

View file

@ -68,7 +68,7 @@ _FORMATTED_LEVELS = []
_LEVEL_NAMES = ['ERROR', 'WARN', 'FIXME', 'INFO', 'DEBUG', 'LOG']
class TerminalController:
class TerminalController(object):
"""
A class that can be used to portably generate formatted output to
a terminal.

View file

@ -71,6 +71,7 @@ def main():
parser.add_option("-n", "--no-color", dest="no_color",
action="store_true", default=False,
help="Set it to output no colored text in the terminal")
loggable.init("GST_VALIDATE_LAUNCHER_DEBUG", True, False)
tests_launcher = _TestsLauncher()
@ -87,6 +88,7 @@ def main():
if options.no_color:
utils.desactivate_colors()
tests_launcher.set_settings(options, args)
if options.list_tests: