Ejemplo n.º 1
0
 def __init__(self, **kwargs):
     MarionetteTestOptions.__init__(self, **kwargs)
     group = self.add_option_group('gaiatest')
     group.add_option('--restart',
                      action='store_true',
                      dest='restart',
                      default=False,
                      help='restart target instance between tests')
     group.add_option('--html-output',
                      action='store',
                      dest='html_output',
                      help='html output',
                      metavar='path')
     group.add_option('--iterations',
                      action='store',
                      dest='iterations',
                      type='int',
                      metavar='int',
                      help='iterations for endurance tests')
     group.add_option('--checkpoint',
                      action='store',
                      dest='checkpoint_interval',
                      type='int',
                      metavar='int',
                      help='checkpoint interval for endurance tests')
Ejemplo n.º 2
0
 def __init__(self, **kwargs):
     MarionetteTestOptions.__init__(self, **kwargs)
     group = self.add_option_group("gaiatest")
     group.add_option(
         "--restart",
         action="store_true",
         dest="restart",
         default=False,
         help="restart target instance between tests",
     )
     group.add_option(
         "--yocto",
         action="store_true",
         dest="yocto",
         default=False,
         help="collect voltage and amperage during test runs (requires special hardware)",
     )
     group.add_option("--html-output", action="store", dest="html_output", help="html output", metavar="path")
     group.add_option(
         "--iterations",
         action="store",
         dest="iterations",
         type="int",
         metavar="int",
         help="iterations for endurance tests",
     )
     group.add_option(
         "--checkpoint",
         action="store",
         dest="checkpoint_interval",
         type="int",
         metavar="int",
         help="checkpoint interval for endurance tests",
     )
Ejemplo n.º 3
0
 def __init__(self, **kwargs):
     MarionetteTestOptions.__init__(self, **kwargs)
     group = self.add_option_group('gaiatest')
     group.add_option('--restart',
                      action='store_true',
                      dest='restart',
                      default=False,
                      help='restart target instance between tests')
     group.add_option('--html-output',
                      action='store',
                      dest='html_output',
                      help='html output',
                      metavar='path')
     group.add_option('--iterations',
                      action='store',
                      dest='iterations',
                      type='int',
                      metavar='int',
                      help='iterations for endurance tests')
     group.add_option('--checkpoint',
                      action='store',
                      dest='checkpoint_interval',
                      type='int',
                      metavar='int',
                      help='checkpoint interval for endurance tests')
Ejemplo n.º 4
0
 def __init__(self, **kwargs):
     MarionetteTestOptions.__init__(self, **kwargs)
     group = self.add_option_group('gaiatest')
     group.add_option('--restart',
                      action='store_true',
                      dest='restart',
                      default=False,
                      help='restart target instance between tests')
     group.add_option('--yocto',
                      action='store_true',
                      dest='yocto',
                      default=False,
                      help='collect voltage and amperage during test runs (requires special hardware)')
     group.add_option('--html-output',
                      action='store',
                      dest='html_output',
                      help='html output',
                      metavar='path')
     group.add_option('--iterations',
                      action='store',
                      dest='iterations',
                      type='int',
                      metavar='int',
                      help='iterations for endurance tests')
     group.add_option('--checkpoint',
                      action='store',
                      dest='checkpoint_interval',
                      type='int',
                      metavar='int',
                      help='checkpoint interval for endurance tests')
Ejemplo n.º 5
0
 def __init__(self, **kwargs):
     MarionetteTestOptions.__init__(self, **kwargs)
     group = self.add_option_group('gaiatest')
     group.add_option('--restart',
                      action='store_true',
                      dest='restart',
                      default=False,
                      help='restart target instance between tests')
     group.add_option(
         '--yocto',
         action='store_true',
         dest='yocto',
         default=False,
         help=
         'collect voltage and amperage during test runs (requires special hardware)'
     )
     group.add_option('--html-output',
                      action='store',
                      dest='html_output',
                      help='html output',
                      metavar='path')
     group.add_option('--iterations',
                      action='store',
                      dest='iterations',
                      type='int',
                      metavar='int',
                      help='iterations for endurance tests')
     group.add_option('--checkpoint',
                      action='store',
                      dest='checkpoint_interval',
                      type='int',
                      metavar='int',
                      help='checkpoint interval for endurance tests')
Ejemplo n.º 6
0
 def __init__(self, **kwargs):
     MarionetteTestOptions.__init__(self, **kwargs)
     group = self.add_option_group('gaiatest')
     group.add_option('--restart',
                      action='store_true',
                      dest='restart',
                      default=False,
                      help='restart target instance between tests')
Ejemplo n.º 7
0
 def __init__(self, **kwargs):
     MarionetteTestOptions.__init__(self, **kwargs)
     group = self.add_option_group('gaiatest')
     group.add_option('--restart',
                      action='store_true',
                      dest='restart',
                      default=False,
                      help='restart target instance between tests')