diff options
| author | Lorin Hochstein <lorin@isi.edu> | 2011-07-21 10:30:55 -0400 |
|---|---|---|
| committer | Lorin Hochstein <lorin@isi.edu> | 2011-07-21 10:30:55 -0400 |
| commit | eed00e5c826034b042abd713f03aefdfc376ed22 (patch) | |
| tree | 90c6144e887444a7322b11512e4f70d81fc68b84 | |
| parent | 90c8a7c73d2f12b761440c2e2d14002f6897a438 (diff) | |
Fixed an issue where was invoked before it was defined in the case of a venv
| -rwxr-xr-x | run_tests.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/run_tests.sh b/run_tests.sh index d27a2dc70..9b080e197 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -52,8 +52,8 @@ for arg in "$@"; do process_option $arg done +# If enabled, tell nose to collect coverage data if [ $coverage -eq 1 ]; then - ${wrapper} coverage erase noseopts="$noseopts --with-coverage --cover-package=nova" fi @@ -116,6 +116,11 @@ then fi fi +# Delete old coverage data from previous runs +if [ $coverage -eq 1 ]; then + ${wrapper} coverage erase +fi + if [ $just_pep8 -eq 1 ]; then run_pep8 exit |
