buildtest.executors.local

This module implements the LocalExecutor class responsible for submitting jobs to localhost. This class is called in class BuildExecutor when initializing the executors.

Module Contents

Classes

LocalExecutor(name, settings, config_opts)

The BaseExecutor is an abstract base class for all executors. All

class buildtest.executors.local.LocalExecutor(name, settings, config_opts)

Bases: buildtest.executors.base.BaseExecutor

The BaseExecutor is an abstract base class for all executors. All executors must have a listing of steps and dryrun_steps

type = local
check(self)
load(self)

Load a particular configuration based on the name. This method should set defaults for the executor, and will vary based on the class.

run(self)

This method is responsible for running test for LocalExecutor which runs test locally. We keep track of metadata in self.builder.metadata and self.result keeps track of run result. The output and error file is written to filesystem. After test