aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-07-31 14:13:58 -0700
committerRoss Brattain <ross.b.brattain@intel.com>2017-07-31 14:14:21 -0700
commitc42d56297d22afb4245eae76c43fa762e14993ab (patch)
treef2b8a9a3bb150b5ba9c6cc43c8afc162a9295ce1 /tests/ci
parentf143efd61c874ff6d8e18073d7f2f716abad9864 (diff)
cover: another 'db type could not be determined' workaround
Change-Id: Ib94ff2dfc86725e5367908296b5160f9565442b8 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Diffstat (limited to 'tests/ci')
-rw-r--r--tests/ci/cover.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ci/cover.sh b/tests/ci/cover.sh
index 0c7c2358b..6e4d608d9 100644
--- a/tests/ci/cover.sh
+++ b/tests/ci/cover.sh
@@ -47,6 +47,9 @@ run_coverage_test() {
# Generate and save coverage report
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="$*"
coverage report > $current_report
current_missing=$(awk 'END { print $3 }' $current_report)