[Kimchi-devel] [PATCH 1/9] Fix PYTHONPATH to run tests for Ginger Base
Aline Manera
alinefm at linux.vnet.ibm.com
Fri Oct 23 23:20:26 UTC 2015
Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
---
src/wok/plugins/gingerbase/tests/run_tests.sh.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/wok/plugins/gingerbase/tests/run_tests.sh.in b/src/wok/plugins/gingerbase/tests/run_tests.sh.in
index 1a34418..3b08fa6 100644
--- a/src/wok/plugins/gingerbase/tests/run_tests.sh.in
+++ b/src/wok/plugins/gingerbase/tests/run_tests.sh.in
@@ -52,4 +52,6 @@ for ((i=0;i<${#LIST[@]};i++)); do
fi
done
-PYTHONPATH=../plugins:../src:../ $CMD $OPTS ${MODEL_LIST[@]} ${MOCK_LIST[@]}
+# ../../../../ refers to wok directory
+# ../../../ refers to plugins directory
+PYTHONPATH=../../../../:../../../ $CMD $OPTS ${MODEL_LIST[@]} ${MOCK_LIST[@]}
--
2.1.0
More information about the Kimchi-devel
mailing list