Package conary :: Package lib :: Module coveragehook
[hide private]
[frames] | no frames]

Module coveragehook

source code

Imports our modified version of coverage.py which has support for the COVERAGE_DIR directive. If the COVERAGE_DIR environment variable is set, it will automatically start running coverage. Forks will continue to run coverage, to a different pid.

Functions [hide private]
 
install()
Starts the coverage tool if the coverage dir directive is set.
source code
 
save() source code
 
_save() source code
 
_install() source code
 
_saveState(signal, f) source code
 
_run(coverage) source code
 
_installOsWrapper()
wrap fork to automatically start a new coverage file with the forked pid.
source code
 
_reset(coverage) source code
Variables [hide private]
  origExecArray = {}
  exectype = 'vpe'
  fnName = 'execvpe'