]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Added upstream patch to fix the /usr/bin/coverage call and use "python -m coverage...
authorThomas Goirand <thomas@goirand.fr>
Sat, 19 Oct 2013 16:25:55 +0000 (16:25 +0000)
committerThomas Goirand <thomas@goirand.fr>
Sat, 19 Oct 2013 16:25:55 +0000 (16:25 +0000)
Rewritten-From: 8281ef2232cb0103015589ef8e897df071d1eb68

xenial/debian/changelog
xenial/debian/patches/fix-call-to-usr-bin-coverage.patch [new file with mode: 0644]
xenial/debian/patches/series [new file with mode: 0644]

index 5ac6b7d02713dbf785401cef6574fc8be197c268..7beed320d8044aa06f7a0df238377e658cb530c4 100644 (file)
@@ -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 <zigo@debian.org>  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 (file)
index 0000000..4114332
--- /dev/null
@@ -0,0 +1,17 @@
+Description: Using python -m coverage instead of /usr/bin/coverage
+Author: Steven Hardy <shardy@redhat.com>
+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 (file)
index 0000000..dd3cfbc
--- /dev/null
@@ -0,0 +1 @@
+fix-call-to-usr-bin-coverage.patch