From: Thomas Goirand Date: Sat, 19 Oct 2013 16:25:55 +0000 (+0000) Subject: Added upstream patch to fix the /usr/bin/coverage call and use "python -m coverage... X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fc8bdf168796e63f99cf9f1f7e2273896cceea66;p=openstack-build%2Fheat-build.git Added upstream patch to fix the /usr/bin/coverage call and use "python -m coverage" instead. Rewritten-From: 8281ef2232cb0103015589ef8e897df071d1eb68 --- diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 5ac6b7d0..7beed320 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -1,3 +1,10 @@ +heat (2013.2-2) unstable; urgency=low + + * Added upstream patch to fix the /usr/bin/coverage call and use + "python -m coverage" instead. + + -- Thomas Goirand Sat, 19 Oct 2013 16:22:07 +0000 + heat (2013.2-1) unstable; urgency=low * New upstream release. diff --git a/xenial/debian/patches/fix-call-to-usr-bin-coverage.patch b/xenial/debian/patches/fix-call-to-usr-bin-coverage.patch new file mode 100644 index 00000000..41143322 --- /dev/null +++ b/xenial/debian/patches/fix-call-to-usr-bin-coverage.patch @@ -0,0 +1,17 @@ +Description: Using python -m coverage instead of /usr/bin/coverage +Author: Steven Hardy +Origin: upstream, https://review.openstack.org/#/c/52668/ +Bug-Ubuntu: https://launchpad.net/bugs/1241330 +Last-Update: 2013-10-20 + +--- heat-2013.2.orig/run_tests.sh ++++ heat-2013.2/run_tests.sh +@@ -117,7 +117,7 @@ fi + if [ "$coverage" == 1 ]; then + echo "Generating coverage report in ./cover" + python setup.py testr --coverage --slowest +- coverage report -m ++ python -m coverage report --show-missing + fi + + exit $result diff --git a/xenial/debian/patches/series b/xenial/debian/patches/series new file mode 100644 index 00000000..dd3cfbc0 --- /dev/null +++ b/xenial/debian/patches/series @@ -0,0 +1 @@ +fix-call-to-usr-bin-coverage.patch