diff --git a/gtests/net/packetdrill/run_all.py b/gtests/net/packetdrill/run_all.py index e3e66a45..15e317ce 100755 --- a/gtests/net/packetdrill/run_all.py +++ b/gtests/net/packetdrill/run_all.py @@ -46,6 +46,8 @@ def CmdTest(self, path, variant, extra_args=None): cmd.extend(self.default_args.split()) if extra_args is not None: cmd.extend(extra_args.split()) + if self.args['verbose'] > 1: + cmd.append('-' + 'v' * (self.args['verbose'] - 1)) cmd.append(basename) return (cmd, execdir, path, variant) @@ -261,7 +263,8 @@ def ParseArgs(): help="max number of tests running in parallel") args.add_argument('-s', '--subdirs', action='store_true') args.add_argument('-S', '--serialized', action='store_true') - args.add_argument('-v', '--verbose', action='store_true') + args.add_argument('-v', '--verbose', action='count', default=0, + help="can be repeated to run packetdrill with -v") return vars(args.parse_args())