mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 03:46:11 +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
|
Makefile
|
||||||
common/Makefile
|
common/Makefile
|
||||||
common/m4/Makefile
|
common/m4/Makefile
|
||||||
|
data/Makefile
|
||||||
gst/Makefile
|
gst/Makefile
|
||||||
gst/validate/Makefile
|
gst/validate/Makefile
|
||||||
tools/Makefile
|
|
||||||
tools/launcher/Makefile
|
|
||||||
tools/launcher/apps/Makefile
|
|
||||||
data/Makefile
|
|
||||||
pkgconfig/Makefile
|
pkgconfig/Makefile
|
||||||
pkgconfig/gst-validate-uninstalled.pc
|
pkgconfig/gst-validate-uninstalled.pc
|
||||||
pkgconfig/gst-validate.pc
|
pkgconfig/gst-validate.pc
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
|
tools/Makefile
|
||||||
|
tools/launcher/Makefile
|
||||||
|
tools/launcher/apps/Makefile
|
||||||
])
|
])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
|
|
@ -68,7 +68,7 @@ _FORMATTED_LEVELS = []
|
||||||
_LEVEL_NAMES = ['ERROR', 'WARN', 'FIXME', 'INFO', 'DEBUG', 'LOG']
|
_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 class that can be used to portably generate formatted output to
|
||||||
a terminal.
|
a terminal.
|
||||||
|
|
|
@ -71,6 +71,7 @@ def main():
|
||||||
parser.add_option("-n", "--no-color", dest="no_color",
|
parser.add_option("-n", "--no-color", dest="no_color",
|
||||||
action="store_true", default=False,
|
action="store_true", default=False,
|
||||||
help="Set it to output no colored text in the terminal")
|
help="Set it to output no colored text in the terminal")
|
||||||
|
|
||||||
loggable.init("GST_VALIDATE_LAUNCHER_DEBUG", True, False)
|
loggable.init("GST_VALIDATE_LAUNCHER_DEBUG", True, False)
|
||||||
|
|
||||||
tests_launcher = _TestsLauncher()
|
tests_launcher = _TestsLauncher()
|
||||||
|
@ -87,6 +88,7 @@ def main():
|
||||||
if options.no_color:
|
if options.no_color:
|
||||||
utils.desactivate_colors()
|
utils.desactivate_colors()
|
||||||
|
|
||||||
|
|
||||||
tests_launcher.set_settings(options, args)
|
tests_launcher.set_settings(options, args)
|
||||||
|
|
||||||
if options.list_tests:
|
if options.list_tests:
|
||||||
|
|
Loading…
Reference in a new issue