summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-cinder
diff options
context:
space:
mode:
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-cinder')
-rw-r--r--meta-openstack/recipes-devtools/python/python-cinder/0001-run_tests-respect-tools-dir.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-cinder/0001-run_tests-respect-tools-dir.patch b/meta-openstack/recipes-devtools/python/python-cinder/0001-run_tests-respect-tools-dir.patch
new file mode 100644
index 0000000..02ee051
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-cinder/0001-run_tests-respect-tools-dir.patch
@@ -0,0 +1,29 @@
1From cecd4285356bdfdb36161d24b9a3a47942643077 Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Wed, 11 Dec 2013 14:25:49 -0500
4Subject: [PATCH] run_tests: respect --tools-dir
5
6Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
7---
8 run_tests.sh | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/run_tests.sh b/run_tests.sh
12index 726ff438a077..f4f4d48c8808 100755
13--- a/run_tests.sh
14+++ b/run_tests.sh
15@@ -146,9 +146,9 @@ function run_tests {
16 then
17 # subunit-2to1 is present, testr subunit stream should be in version 2
18 # format. Convert to version one before colorizing.
19- bash -c "${wrapper} $TESTRTESTS | ${wrapper} subunit-2to1 | ${wrapper} tools/colorizer.py"
20+ bash -c "${wrapper} $TESTRTESTS | ${wrapper} subunit-2to1 | ${wrapper} $tool_path/tools/colorizer.py"
21 else
22- bash -c "${wrapper} $TESTRTESTS | ${wrapper} tools/colorizer.py"
23+ bash -c "${wrapper} $TESTRTESTS | ${wrapper} $tool_path/tools/colorizer.py"
24 fi
25 RESULT=$?
26 set -e
27--
281.7.10.4
29