From 5adf20cf633d707a8e5a7d5e46b9fab322c75bb0 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sat, 19 Oct 2013 16:25:55 +0000 Subject: [PATCH] Added upstream patch to fix the /usr/bin/coverage call and use "python -m coverage" instead. Rewritten-From: 8281ef2232cb0103015589ef8e897df071d1eb68 --- trusty/debian/changelog | 7 +++++++ .../patches/fix-call-to-usr-bin-coverage.patch | 17 +++++++++++++++++ trusty/debian/patches/series | 1 + 3 files changed, 25 insertions(+) create mode 100644 trusty/debian/patches/fix-call-to-usr-bin-coverage.patch create mode 100644 trusty/debian/patches/series diff --git a/trusty/debian/changelog b/trusty/debian/changelog index 5ac6b7d0..7beed320 100644 --- a/trusty/debian/changelog +++ b/trusty/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/trusty/debian/patches/fix-call-to-usr-bin-coverage.patch b/trusty/debian/patches/fix-call-to-usr-bin-coverage.patch new file mode 100644 index 00000000..41143322 --- /dev/null +++ b/trusty/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/trusty/debian/patches/series b/trusty/debian/patches/series new file mode 100644 index 00000000..dd3cfbc0 --- /dev/null +++ b/trusty/debian/patches/series @@ -0,0 +1 @@ +fix-call-to-usr-bin-coverage.patch -- 2.45.2