aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ci/cover.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ci/cover.sh b/tests/ci/cover.sh
index 6e4d608d9..822ed2ff2 100644
--- a/tests/ci/cover.sh
+++ b/tests/ci/cover.sh
@@ -36,8 +36,8 @@ run_coverage_test() {
baseline_report=$(mktemp -t yardstick_coverageXXXXXXX)
# workaround 'db type could not be determined' bug
# https://bugs.launchpad.net/testrepository/+bug/1229445
- rm -f .testrepository/times.dbm
- find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --testr-args="$*"
+ rm -rf .testrepository
+ find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --slowest --testr-args="$*"
coverage report > $baseline_report
baseline_missing=$(awk 'END { print $3 }' $baseline_report)
@@ -49,8 +49,8 @@ run_coverage_test() {
current_report=$(mktemp -t yardstick_coverageXXXXXXX)
# workaround 'db type could not be determined' bug
# https://bugs.launchpad.net/testrepository/+bug/1229445
- rm -f .testrepository/times.dbm
- find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --testr-args="$*"
+ rm -rf .testrepository
+ find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --slowest --testr-args="$*"
coverage report > $current_report
current_missing=$(awk 'END { print $3 }' $current_report)