From: Thomas Goirand Date: Thu, 16 Apr 2015 07:49:03 +0000 (+0200) Subject: Adds debian/patches/only-run-tests-in-heat.tests.patch X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=c26c5b8f556917a6a79f369efdf73965380101d3;p=openstack-build%2Fheat-build.git Adds debian/patches/only-run-tests-in-heat.tests.patch Rewritten-From: 367b6d872a21a16831d8a9756fe5f06f58ea11e5 --- diff --git a/trusty/debian/patches/only-run-tests-in-heat.tests.patch b/trusty/debian/patches/only-run-tests-in-heat.tests.patch new file mode 100644 index 00000000..9293b815 --- /dev/null +++ b/trusty/debian/patches/only-run-tests-in-heat.tests.patch @@ -0,0 +1,16 @@ +Description: Only run tests within heat/tests +Author: Thomas Goirand +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 diff --git a/trusty/debian/patches/series b/trusty/debian/patches/series index 838c9075..35818fbc 100644 --- a/trusty/debian/patches/series +++ b/trusty/debian/patches/series @@ -1 +1,2 @@ allow-route-2.0.patch +only-run-tests-in-heat.tests.patch