summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun_tests.sh2
-rw-r--r--tox.ini2
2 files changed, 2 insertions, 2 deletions
diff --git a/run_tests.sh b/run_tests.sh
index 39176d78b..8a7bce63b 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -81,7 +81,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).*$"
fi
export PYTHON="${wrapper} coverage run --source nova --parallel-mode"
fi
diff --git a/tox.ini b/tox.ini
index 58468accb..e98f30151 100644
--- a/tox.ini
+++ b/tox.ini
@@ -38,7 +38,7 @@ commands = python tools/flakes.py nova
# tests conflict with coverage.
commands =
python setup.py testr --coverage \
- --testr-args='^(?!.*test_coverage_ext).*$'
+ --testr-args='^(?!.*test.*coverage).*$'
[testenv:venv]
commands = {posargs}