From ddc26af85b0a00722ac4f64628e597a7df16c924 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Thu, 16 Apr 2015 09:49:03 +0200 Subject: [PATCH] Adds debian/patches/only-run-tests-in-heat.tests.patch Rewritten-From: 367b6d872a21a16831d8a9756fe5f06f58ea11e5 --- .../patches/only-run-tests-in-heat.tests.patch | 16 ++++++++++++++++ xenial/debian/patches/series | 1 + 2 files changed, 17 insertions(+) create mode 100644 xenial/debian/patches/only-run-tests-in-heat.tests.patch 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 index 00000000..9293b815 --- /dev/null +++ b/xenial/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/xenial/debian/patches/series b/xenial/debian/patches/series index 838c9075..35818fbc 100644 --- a/xenial/debian/patches/series +++ b/xenial/debian/patches/series @@ -1 +1,2 @@ allow-route-2.0.patch +only-run-tests-in-heat.tests.patch -- 2.45.2