Created
March 28, 2013 17:57
-
-
Save elmirjagudin/5265412 to your computer and use it in GitHub Desktop.
buildbot gen_cov.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
MODULES=$1 | |
HTML_DIR=cov-part | |
if [ -z "$MODULES" ]; then | |
MODULES="buildbot.test buildslave.test" | |
HTML_DIR=cov | |
fi | |
coverage erase | |
#coverage run --branch --rcfile=common/coveragerc $(which trial) $MODULES | |
coverage run --rcfile=common/coveragerc $(which trial) $MODULES | |
rm -rf $HTML_DIR | |
coverage html -i --rcfile=.coveragerc -d $HTML_DIR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment