exit status always 1 · Issue #50 · nedbat/coveragepy (original) (raw)

Originally reported by kundert (Bitbucket: kundert, GitHub: Unknown)


The exit status of 'coverage run ..." is always 1 regardless of the exit status of the underlying python program. This can be seen in tcsh by running:

coverage run exit.py; echo $status

where exit.py consists only of:

exit(0)

This screws up the error reporting in my test scripts, which reports every test as failing if I use coverage analysis.