diff options
author | Kieran Spear <kispear@gmail.com> | 2013-02-11 11:21:26 +1100 |
---|---|---|
committer | Kieran Spear <kispear@gmail.com> | 2013-02-11 11:22:47 +1100 |
commit | 2eeab72aee2a278c591b9dba5b1723d47ddb90b8 (patch) | |
tree | 390bd81470fec23b336e8f579d251d1f6f8cd588 /run_tests.sh | |
parent | 1ea7e65d851caa21d9ff746f67ba00c47d1bf4ad (diff) | |
download | python-novaclient-2eeab72aee2a278c591b9dba5b1723d47ddb90b8.tar.gz |
Fix run_tests.sh --coverage
Looks like a couple of typos crept in here preventing coverage
generation.
Change-Id: I08a61a67dadc5dcd334f9f288d8ee6719d469ca1
Diffstat (limited to 'run_tests.sh')
-rwxr-xr-x | run_tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh index e5474c41..a3a74cdc 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -77,7 +77,7 @@ function run_tests { if [ $coverage -eq 1 ]; then # Do not test test_coverage_ext when gathering coverage. if [ "x$testrargs" = "x" ]; then - testrargs = "^(?!.*test_coverage_ext).*$" + testrargs="^(?!.*test_coverage_ext).*$" fi export PYTHON="${wrapper} coverage run --source novaclient --parallel-mode" fi @@ -163,6 +163,6 @@ fi if [ $coverage -eq 1 ]; then echo "Generating coverage report in covhtml/" - ${wrapper} cverage combine + ${wrapper} coverage combine ${wrapper} coverage html --include='novaclient/*' --omit='novaclient/openstack/common/*' -d covhtml -i fi |