mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 06:08:14 +00:00
validate:launcher: Make sure to show apps specific options in the help
This commit is contained in:
parent
e9da098e33
commit
ad5b5f5369
1 changed files with 3 additions and 3 deletions
|
@ -479,15 +479,15 @@ Note that all testsuite should be inside python modules, so the directory should
|
|||
|
||||
loggable.init("GST_VALIDATE_LAUNCHER_DEBUG", True, False)
|
||||
|
||||
tests_launcher = _TestsLauncher(libsdir)
|
||||
tests_launcher.add_options(parser)
|
||||
|
||||
if _help_message == HELP and which(LESS):
|
||||
tmpf = tempfile.NamedTemporaryFile()
|
||||
|
||||
parser.print_help(file=tmpf)
|
||||
exit(os.system("%s %s" % (LESS, tmpf.name)))
|
||||
|
||||
tests_launcher = _TestsLauncher(libsdir)
|
||||
tests_launcher.add_options(parser)
|
||||
|
||||
options = LauncherConfig()
|
||||
parser.parse_args(namespace=options)
|
||||
if not options.cleanup():
|
||||
|
|
Loading…
Reference in a new issue