Merge "Fix & Restore cover job"

This commit is contained in:
Jenkins 2015-10-06 10:02:18 +00:00 committed by Gerrit Code Review
commit eb32abef98
2 changed files with 2 additions and 2 deletions

View File

@ -3,4 +3,5 @@ branch = True
source = rally
[report]
ignore_errors = True
precision = 3

View File

@ -15,8 +15,6 @@
# License for the specific language governing permissions and limitations
# under the License.
exit 0
ALLOWED_EXTRA_MISSING=4
show_diff () {
@ -32,6 +30,7 @@ git checkout HEAD^
baseline_report=$(mktemp -t rally_coverageXXXXXXX)
find . -type f -name "*.pyc" -delete && python setup.py testr --coverage --testr-args="$*"
coverage report > $baseline_report
cat $baseline_report
baseline_missing=$(awk 'END { print $3 }' $baseline_report)
# Checkout back and unstash uncommitted changes (if any)