chrome/test/mini_installer/run_mini_installer_tests.py
def _prepare_env_for_subprocesses(parser, args):
    """Populates environment variables with values given to this process on its
        command line.

    typ runs tests in child processes. It does not pass args defined by this
    test suite, so here we stuff the args the suite cares about into the
    environment so they can be pulled out by test modules that need them.

    Args:
        parser: The ArgumentParser used for this process.
        args: The arguments parsed from this process's command line.
    """
    if args.force_clean:
        os.environ['CMI_FORCE_CLEAN'] = '1'
    if args.output_dir != parser.get_default('output_dir'):
        os.environ['CMI_OUTPUT_DIR'] = args.output_dir
    if args.installer_path != parser.get_default('installer_path'):
        os.environ['CMI_INSTALLER_PATH'] = args.installer_path
    if args.previous_version_installer_path != parser.get_default(
            'previous_version_installer_path'):
        os.environ['CMI_PREVIOUS_VERSION_INSTALLER_PATH'] = \
            args.previous_version_installer_path
    if args.chromedriver_path != parser.get_default('chromedriver_path'):
        os.environ['CMI_CHROMEDRIVER_PATH'] = args.chromedriver_path
    if args.config != parser.get_default('config'):
        os.environ['CMI_CONFIG'] = args.config
Populates environment variables with values given to this process on its
        command line.

    typ runs tests in child processes. It does not pass args defined by this
    test suite, so here we stuff the args the suite cares about into the
    environment so they can be pulled out by test modules that need them.

    Args:
        parser: The ArgumentParser used for this process.
        args: The arguments parsed from this process's command line.
    
Populates environment variables with values given to this process on its
command line.

typ runs tests in child processes. It does not pass args defined by this
test suite, so here we stuff the args the suite cares about into the
environment so they can be pulled out by test modules that need them.
Populates environment variables with values given to this process on its command line . typ runs tests in child processes . It does not pass args defined by this test suite so here we stuff the args the suite cares about into the environment so they can be pulled out by test modules that need them .
def _prepare_env_for_subprocesses(parser, args):
    if args.force_clean:
        os.environ['CMI_FORCE_CLEAN'] = '1'
    if args.output_dir != parser.get_default('output_dir'):
        os.environ['CMI_OUTPUT_DIR'] = args.output_dir
    if args.installer_path != parser.get_default('installer_path'):
        os.environ['CMI_INSTALLER_PATH'] = args.installer_path
    if args.previous_version_installer_path != parser.get_default(
            'previous_version_installer_path'):
        os.environ['CMI_PREVIOUS_VERSION_INSTALLER_PATH'] = \
            args.previous_version_installer_path
    if args.chromedriver_path != parser.get_default('chromedriver_path'):
        os.environ['CMI_CHROMEDRIVER_PATH'] = args.chromedriver_path
    if args.config != parser.get_default('config'):
        os.environ['CMI_CONFIG'] = args.config
def _prepare_env_for_subprocesses ( parser , args ) : if args . force_clean : os . environ [ 'CMI_FORCE_CLEAN' ] = '1' if args . output_dir != parser . get_default ( 'output_dir' ) : os . environ [ 'CMI_OUTPUT_DIR' ] = args . output_dir if args . installer_path != parser . get_default ( 'installer_path' ) : os . environ [ 'CMI_INSTALLER_PATH' ] = args . installer_path if args . previous_version_installer_path != parser . get_default ( 'previous_version_installer_path' ) : os . environ [ 'CMI_PREVIOUS_VERSION_INSTALLER_PATH' ] = args . previous_version_installer_path if args . chromedriver_path != parser . get_default ( 'chromedriver_path' ) : os . environ [ 'CMI_CHROMEDRIVER_PATH' ] = args . chromedriver_path if args . config != parser . get_default ( 'config' ) : os . environ [ 'CMI_CONFIG' ] = args . config
Populates environment variables with values given to this process on its
command line.
Populates environment variables with values given to this process on its command line .
"""Populates environment variables with values given to this process on its
        command line.

    typ runs tests in child processes. It does not pass args defined by this
    test suite, so here we stuff the args the suite cares about into the
    environment so they can be pulled out by test modules that need them.

    Args:
        parser: The ArgumentParser used for this process.
        args: The arguments parsed from this process's command line.
    """
parser
The ArgumentParser used for this process.
The ArgumentParser used for this process .
args
The arguments parsed from this process's command line.
The arguments parsed from this process ' s command line .