def __init__(self, **kwargs): BaseMarionetteOptions.__init__(self, **kwargs) GaiaOptionsMixin.__init__(self, **kwargs) HTMLReportingOptionsMixin.__init__(self, **kwargs) EnduranceOptionsMixin.__init__(self, **kwargs) TreeherderOptionsMixin.__init__(self, **kwargs) GaiaImageCompareOptionsMixin.__init__(self, **kwargs)
def __init__(self, **kwargs): BaseMarionetteOptions.__init__(self, **kwargs) # Inheriting object must call this __init__ to set up option handling self.add_option('--installer', dest='installer', help='installer of a Gecko application to use for running the tests')
def __init__(self, **kwargs): BaseMarionetteOptions.__init__(self, **kwargs) self.add_option('--installer', dest='installer', action='store', help='installer of a Gecko application to use for running the tests')
def __init__(self, **kwargs): BaseMarionetteOptions.__init__(self, **kwargs) # Inheriting object must call this __init__ to set up option handling self.add_option( '--installer', dest='installer', help='installer of a Gecko application to use for running the tests' )
def parse_args(self, *args, **kwargs): options, test_files = BaseMarionetteOptions.parse_args(self, *args, **kwargs) if not any([(k.startswith('log_') and v is not None and '-' in v) for (k, v) in vars(options).items()]): options.log_mach = '-' if not test_files: test_files = [firefox_puppeteer.manifest, firefox_ui_tests.manifest] return (options, test_files)
def parse_args(self, *args, **kwargs): options, test_files = BaseMarionetteOptions.parse_args( self, *args, **kwargs) if not any([(k.startswith('log_') and v is not None and '-' in v) for (k, v) in vars(options).items()]): options.log_mach = '-' if not test_files: test_files = [ firefox_puppeteer.manifest, firefox_ui_tests.manifest ] return (options, test_files)
def parse_args(self, *args, **kwargs): options, test_files = BaseMarionetteOptions.parse_args(self, *args, **kwargs) # It is not allowed to specify both options for binary and installer if options.installer: if options.binary: self.error('options --binary and --installer are mutually exclusive') # Spoofing so verify_usage() is not showing a failure options.binary = 'to_be_set' if not test_files: test_files = [firefox_puppeteer.manifest, firefox_ui_tests.manifest] return (options, test_files)
def parse_args(self, *args, **kwargs): options, tests = BaseMarionetteOptions.parse_args(self, *args, **kwargs) # Bug 1142064 - We cannot easily extent options because registered handlers # are called at the end in MarionetteBaseOptions.verify_usage(). As result it # will abort due to no binary specified. Once the bug is fixed we can move # the whole block to self.base_verify_usage(). if options.installer: if options.binary: self.error('Options --binary and --installer are mutually exclusive.') options.binary = 'FAKED_VALUE' tests = tests or [firefox_puppeteer.manifest, firefox_ui_tests.manifest_all] return (options, tests)
def parse_args(self, *args, **kwargs): options, tests = BaseMarionetteOptions.parse_args( self, *args, **kwargs) # Bug 1142064 - We cannot easily extent options because registered handlers # are called at the end in MarionetteBaseOptions.verify_usage(). As result it # will abort due to no binary specified. Once the bug is fixed we can move # the whole block to self.base_verify_usage(). if options.installer: if options.binary: self.error( 'Options --binary and --installer are mutually exclusive.') options.binary = 'FAKED_VALUE' tests = tests or [ firefox_puppeteer.manifest, firefox_ui_tests.manifest_all ] return (options, tests)
def __init__(self, **kwargs): BaseMarionetteOptions.__init__(self, **kwargs) GaiaOptionsMixin.__init__(self, **kwargs) HTMLReportingOptionsMixin.__init__(self, **kwargs) EnduranceOptionsMixin.__init__(self, **kwargs)
def parse_args(self, *args, **kwargs): options, test_files = BaseMarionetteOptions.parse_args(self, *args, **kwargs) if not test_files: test_files = [tests.manifest] return (options, test_files)