summaryrefslogtreecommitdiff
path: root/run_tests.sh
diff options
context:
space:
mode:
authorKieran Spear <kispear@gmail.com>2013-02-11 11:21:26 +1100
committerKieran Spear <kispear@gmail.com>2013-02-11 11:22:47 +1100
commit2eeab72aee2a278c591b9dba5b1723d47ddb90b8 (patch)
tree390bd81470fec23b336e8f579d251d1f6f8cd588 /run_tests.sh
parent1ea7e65d851caa21d9ff746f67ba00c47d1bf4ad (diff)
downloadpython-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-xrun_tests.sh4
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