]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Adds debian/patches/only-run-tests-in-heat.tests.patch
authorThomas Goirand <zigo@debian.org>
Thu, 16 Apr 2015 07:49:03 +0000 (09:49 +0200)
committerThomas Goirand <zigo@debian.org>
Thu, 16 Apr 2015 07:49:03 +0000 (09:49 +0200)
Rewritten-From: 367b6d872a21a16831d8a9756fe5f06f58ea11e5

xenial/debian/patches/only-run-tests-in-heat.tests.patch [new file with mode: 0644]
xenial/debian/patches/series

diff --git a/xenial/debian/patches/only-run-tests-in-heat.tests.patch b/xenial/debian/patches/only-run-tests-in-heat.tests.patch
new file mode 100644 (file)
index 0000000..9293b81
--- /dev/null
@@ -0,0 +1,16 @@
+Description: Only run tests within heat/tests
+Author: Thomas Goirand <zigo@debian.org>
+Forwarded: no
+Last-Update: 2015-04-16
+
+--- heat-2015.1~rc1.orig/.testr.conf
++++ heat-2015.1~rc1/.testr.conf
+@@ -2,7 +2,7 @@
+ test_command=
+     PYTHON=$(echo ${PYTHON:-python} | sed 's/--source heat//g')
+     START_AT=${TESTR_START_DIR:-.}
+-    ${PYTHON} -m subunit.run discover -s $START_AT -t . $LISTOPT $IDOPTION
++    ${PYTHON} -m subunit.run discover -s $START_AT -t . ./heat/tests $IDOPTION
+     if [ "$START_AT" = "." ]; then for plugin in $START_AT/contrib/*; do ${PYTHON} -m subunit.run discover -s $plugin $LISTOPT $IDOPTION; done; fi
+ test_id_option=--load-list $IDFILE
+ test_list_option=--list
index 838c9075b2e1d0d76d88d70b257586a6da1d2cc0..35818fbccdeb48340de67a09eab53f102296276f 100644 (file)
@@ -1 +1,2 @@
 allow-route-2.0.patch
+only-run-tests-in-heat.tests.patch