def adjust_config_by_options(config, options): # Common options between config and command line common_options = ('debug_info_level', 'backend_builder', 'build_jobs', 'test_jobs', 'run_unrepaired_tests') for name in common_options: value = getattr(options, name, None) if value: config.global_config(**{name: value})
def adjust_config_by_options(config, options): for name in ('debug_info_level', 'native_builder'): value = getattr(options, name, None) if value: config.global_config(**{name: value})
def adjust_config_by_options(config, options): for name in ('debug_info_level', 'native_builder'): value = getattr(options, name, None) if value: config.global_config(**{name: value})