def __init__(self, automation, **kwargs): B2GOptions.__init__(self, automation) self.add_option('--manifest-list', dest='manifests', action='store', default=None, help='List of reftest manifests to run') self.add_option('--output-dir', dest='output_dir', action='store', default=os.path.join(here, 'reftest_logs'), help='Directory to store the log files')
def parse_args(self, args): opt, arguments = B2GOptions.parse_args(args) if not opt.manifests: self.error("must specify --manifest-list") return opt, arguments