提交 6cd16c77 编写于 作者: L Lucas Meneghel Rodrigues

Merge pull request #959 from ldoktor/wrapper

avocado.plugins.wrapper: Check the --gdb-run-bin value
......@@ -48,9 +48,10 @@ class Wrapper(CLI):
'only one global wrapper can be defined.')
def run(self, args):
if 'wrapper' in args:
wraps = getattr(args, "wrapper", None)
if wraps:
view = output.View(app_args=args)
if 'gdb_run_bin' in args and args.gdb_run_bin:
if getattr(args, 'gdb_run_bin', None):
view.notify(event='error',
msg='Command line option --wrapper is incompatible'
' with option --gdb-run-bin.')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册