mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 20:59:44 +00:00
validate:tools: Minor cleanups
This commit is contained in:
parent
38615bcae2
commit
32e7b9a55e
3 changed files with 7 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue